class
Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

No documentation

This class has no description. You can help the Ruby community by adding new notes.

Constants

UNIT_PREFIXES = { 'yotta' => Rational(10**24), 'zetta' => Rational(10**21), 'exa' => Rational(10**18), 'peta' => Rational(10**15), 'tera' => Rational(10**12), 'giga' => Rational(10**9), 'mega' => Rational(10**6), 'kilo' => Rational(10**3), 'hecto' => Rational(10**2), 'deca' => Rational(10**1), 'deka' => Rational(10**1), 'deci' => Rational(1, 10**1), 'centi' => Rational(1, 10**2), 'milli' => Rational(1, 10**3), 'decimilli' => Rational(1, 10**4), 'centimilli' => Rational(1, 10**5), 'micro' => Rational(1, 10**6), 'nano' => Rational(1, 10**9), 'millimicro' => Rational(1, 10**9), 'pico' => Rational(1, 10**12), 'micromicro' => Rational(1, 10**12), 'femto' => Rational(1, 10**15), 'atto' => Rational(1, 10**18), 'zepto' => Rational(1, 10**21), 'yocto' => Rational(1, 10**24) }

IUNITS = { 'year' => Complex(0, 12), 'month' => Complex(0, 1) }

RUNITS = { 'day' => Rational(1), 'week' => Rational(7), 'sennight' => Rational(7), 'fortnight' => Rational(14), 'hour' => Rational(1, 24), 'minute' => Rational(1, 1440), 'second' => Rational(1, 86400) }

UNITS = {}

UNITS4KEY = {}

Attributes

Show files where this class is defined (2 files)
Register or log in to add new notes.