Class: CoinSync::FiatCurrency

Inherits:
Currency
  • Object
show all
Defined in:
lib/coinsync/currencies.rb

Instance Attribute Summary

Attributes inherited from Currency

#code

Instance Method Summary collapse

Methods inherited from Currency

#<=>

Instance Method Details

#crypto?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/coinsync/currencies.rb', line 13

def crypto?
  false
end

#fiat?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/coinsync/currencies.rb', line 9

def fiat?
  true
end