Class: Flowckerc::FormulaSolution
- Inherits:
-
Object
- Object
- Flowckerc::FormulaSolution
- Defined in:
- lib/flowckerc/tokens.rb
Instance Attribute Summary collapse
-
#molecule ⇒ Object
Returns the value of attribute molecule.
-
#molecule_ports ⇒ Object
Returns the value of attribute molecule_ports.
Instance Method Summary collapse
-
#initialize(molecule, molecule_ports) ⇒ FormulaSolution
constructor
A new instance of FormulaSolution.
Constructor Details
#initialize(molecule, molecule_ports) ⇒ FormulaSolution
Returns a new instance of FormulaSolution.
120 121 122 123 |
# File 'lib/flowckerc/tokens.rb', line 120 def initialize molecule, molecule_ports @molecule = molecule @molecule_ports = molecule_ports end |
Instance Attribute Details
#molecule ⇒ Object
Returns the value of attribute molecule.
117 118 119 |
# File 'lib/flowckerc/tokens.rb', line 117 def molecule @molecule end |
#molecule_ports ⇒ Object
Returns the value of attribute molecule_ports.
118 119 120 |
# File 'lib/flowckerc/tokens.rb', line 118 def molecule_ports @molecule_ports end |