class Bio::Registry::DB

Attributes

database[R]

Public Class Methods

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

Public Instance Methods

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