module Units
Defined in:
dimension.crformatting.cr
runtime_unit.cr
si_info.cr
units.cr
Constant Summary
-
SI_INFO =
{ {:mass, :kilograms, :kg}, {:length, :meters, :m}, {:luminant_intensity, :candela, :cd}, {:temperature, :kelvin, :K}, {:current, :amperes, :A}, {:amount, :moles, :mol}, {:time, :seconds, :s} }
-
VERSION =
"0.1.0"
Class Method Summary
- .build(&)
- .from(value, measure)
- .from_days(value)
- .from_feet(value)
- .from_ft(value)
- .from_hours(value)
- .from_hr(value)
- .from_in(value)
- .from_inches(value)
- .from_m(value)
- .from_meters(value)
- .from_min(value)
- .from_minutes(value)
- .from_s(value)
- .from_seconds(value)
- .from_yards(value)
- .from_yd(value)
- .from_years(value)
- .from_yr(value)