struct Chemystal::Reaction

Defined in:

chemystal/reaction.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(requirements : Array(NamedTuple(name: String, type: String, arg: String)), spawner : Chemystal::Molecule -> _, proc : Array(Chemystal::Molecule), Chemystal::Molecule -> _ -> _) #

[View source]

Instance Method Detail

def requirements : Array(ReactionRequirement) #

[View source]
def update_soup_and_run_if_fulfilled(molecule_soup : MoleculeSoup) #

[View source]