class Day14::Substance

Defined in:

day14.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

def name : String #

[View source]
def reaction : Hash(Day14::Substance, Int64) #

[View source]
def reaction_produced : Int64 #

[View source]
def reaction_produced=(reaction_produced : Int64) #

[View source]
def requested : Int64 | Nil #

def requested=(requested : Int64 | Nil) #

[View source]
def requested? : Int64 | Nil | Nil #

def required_for : Array(Day14::Substance) #

[View source]
def reset #

[View source]