struct Units::Prefix::None

Overview

Special case, no prefix

Defined in:

units/data/prefixes.cr

Class Method Summary

Instance methods inherited from struct Units::Prefix

initialize initialize, to_s(mode : Mode = Mode::PrimaryCode) to_s

Constructor methods inherited from struct Units::Prefix

new new

Class methods inherited from struct Units::Prefix

all all, find(string : String, method : Mode = Mode::PrimaryCode) find

Class Method Detail

def self.name : String #

Special case, no prefix


def self.primary_code : String #

def self.scalar : BigDecimal #

[View source]
def self.scalar=(scalar : BigDecimal) #

[View source]
def self.secondary_code : String #

def self.symbol : String #

def self.to_s(mode : Mode = Mode::PrimaryCode) #

Special case, no prefix


[View source]