class Numeric

Constants

BABBAGE
ETHER
FINNEY
LOVELACE
SHANNON
SZABO
TURING

Public Instance Methods

babbage() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 16
def babbage
  self * BABBAGE
end
ether() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 36
def ether
  self * ETHER
end
false?() click to toggle source
# File lib/ethereum/core_ext/object/truth.rb, line 43
def false?
  self == 0
end
finney() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 32
def finney
  self * FINNEY
end
lovelace() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 20
def lovelace
  self * LOVELACE
end
shannon() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 24
def shannon
  self * SHANNON
end
szabo() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 28
def szabo
  self * SZABO
end
turing() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 40
def turing
  self * TURING
end
wei() click to toggle source
# File lib/ethereum/core_ext/numeric/denominations.rb, line 12
def wei
  self
end