class Bio::Registry::DB

Attributes

database[R]

Public Class Methods

new(dbname) click to toggle source
    # File lib/bio/io/registry.rb
244 def initialize(dbname)
245   @database = dbname
246   @property = Hash.new
247 end

Public Instance Methods

[]=(tag, value) click to toggle source
    # File lib/bio/io/registry.rb
254 def []=(tag, value)
255   @property[tag] = value
256 end
method_missing(meth_id) click to toggle source
    # File lib/bio/io/registry.rb
250 def method_missing(meth_id)
251   @property[meth_id.id2name]
252 end