Class: Bio::REBASE::EnzymeEntry

Inherits:
DynamicMethod_Hash show all
Defined in:
lib/bio/db/rebase.rb

Overview

:nodoc:

Constant Summary collapse

@@supplier_data =
{}

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from DynamicMethod_Hash

#method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Bio::REBASE::DynamicMethod_Hash

Class Method Details

.supplier_data=(d) ⇒ Object


135
# File 'lib/bio/db/rebase.rb', line 135

def self.supplier_data=(d); @@supplier_data = d; end

Instance Method Details

#supplier_namesObject


137
138
139
140
141
# File 'lib/bio/db/rebase.rb', line 137

def supplier_names
  ret = []
  self.suppliers.each { |s| ret << @@supplier_data[s] }
  ret
end