Class: Chem::ReactionSkeleton

Inherits:
Object
  • Object
show all
Includes:
Reaction
Defined in:
lib/chem/model/skeleton.rb

Instance Method Summary collapse

Constructor Details

#initialize(compounds) ⇒ ReactionSkeleton

Returns a new instance of ReactionSkeleton.



13
14
15
16
17
# File 'lib/chem/model/skeleton.rb', line 13

def initialize compounds
  @compounds = []
  @compounds[0] = get_compounds(compounds[0])
  @compounds[1] = get_compounds(compounds[1])
end

Instance Method Details

#compoundsObject



19
20
21
# File 'lib/chem/model/skeleton.rb', line 19

def compounds
  @compounds
end