Class: Flowckerc::FormulaSolution

Inherits:
Object
  • Object
show all
Defined in:
lib/flowckerc/tokens.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#moleculeObject

Returns the value of attribute molecule.



117
118
119
# File 'lib/flowckerc/tokens.rb', line 117

def molecule
  @molecule
end

#molecule_portsObject

Returns the value of attribute molecule_ports.



118
119
120
# File 'lib/flowckerc/tokens.rb', line 118

def molecule_ports
  @molecule_ports
end