class Numeric

Public Instance Methods

bch() click to toggle source

Bitcoin Cash units

# File lib/currency_units/core_ext/numeric.rb, line 72
def bch
  BitcoinCash.new(self, :bch)
end
bit() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 7
def bit
  Bitcoin.new(self, :bit)
end
bitcoin() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 15
def bitcoin
  Bitcoin.new(self)
end
bitcoin_cash() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 76
def bitcoin_cash
  BitcoinCash.new(self)
end
btc() click to toggle source

Bitcoin units

# File lib/currency_units/core_ext/numeric.rb, line 3
def btc
  Bitcoin.new(self, :btc)
end
drop() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 63
def drop
  Ripple.new(self, :drop)
end
eth() click to toggle source

Ethereum units

# File lib/currency_units/core_ext/numeric.rb, line 33
def eth
  Ethereum.new(self, :eth)
end
ethereum() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 41
def ethereum
  Ethereum.new(self)
end
indian_rupee() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 28
def indian_rupee
  IndianRupee.new(self)
end
inr() click to toggle source

Indian Rupee units

# File lib/currency_units/core_ext/numeric.rb, line 20
def inr
  IndianRupee.new(self, :inr)
end
litecoin() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 54
def litecoin
  Litecoin.new(self)
end
litoshi() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 50
def litoshi
  Litecoin.new(self, :lit)
end
ltc() click to toggle source

Litecoin units

# File lib/currency_units/core_ext/numeric.rb, line 46
def ltc
  Litecoin.new(self, :ltc)
end
paise() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 24
def paise
  IndianRupee.new(self, :paise)
end
ripple() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 67
def ripple
  Ripple.new(self)
end
satoshi() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 11
def satoshi
  Bitcoin.new(self, :sat)
end
wei() click to toggle source
# File lib/currency_units/core_ext/numeric.rb, line 37
def wei
  Ethereum.new(self, :wei)
end
xrp() click to toggle source

Ripple units

# File lib/currency_units/core_ext/numeric.rb, line 59
def xrp
  Ripple.new(self, :xrp)
end