struct

Units::Prefix::Kibi

Inherits Units::Prefix < Struct < Value < Object

Class methods

name
primary_code
scalar
Source
scalar=(scalar : BigDecimal)
Source
secondary_code
symbol
to_s(mode : Mode = Mode::PrimaryCode)

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source