Class: Chem::ReactionSkeleton
- Inherits:
-
Object
- Object
- Chem::ReactionSkeleton
- Includes:
- Reaction
- Defined in:
- lib/chem/model/skeleton.rb
Instance Method Summary collapse
- #compounds ⇒ Object
-
#initialize(compounds) ⇒ ReactionSkeleton
constructor
A new instance of ReactionSkeleton.
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
#compounds ⇒ Object
19 20 21 |
# File 'lib/chem/model/skeleton.rb', line 19 def compounds @compounds end |