struct Units::ExpressionGenerator

Defined in:

units/expression_generator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(terms : Enumerable(Term), mode : Mode = Mode::PrimaryCode) #

[View source]

Instance Method Detail

def denominator #

[View source]
def expression #

[View source]
def mode : Units::Mode #

[View source]
def numerator #

[View source]
def set : Multiset(NamedTuple(f: BigDecimal, p: String | Nil, a: String | Nil)) #

[View source]
def terms : Enumerable(Units::Term) #

[View source]