class BitcoinRewardEra::Amount
Public Class Methods
new(amount)
click to toggle source
Calls superclass method
# File lib/bitcoin_reward_era/amount.rb, line 7 def initialize amount super(BigDecimal amount) end
Public Instance Methods
inspect()
click to toggle source
# File lib/bitcoin_reward_era/amount.rb, line 11 def inspect to_s end
to_json(_state_ = nil)
click to toggle source
# File lib/bitcoin_reward_era/amount.rb, line 15 def to_json _state_ = nil %("#{self}") end
to_s(pattern = 'F')
click to toggle source
# File lib/bitcoin_reward_era/amount.rb, line 19 def to_s pattern = 'F' __getobj__.to_s pattern end
to_str()
click to toggle source
# File lib/bitcoin_reward_era/amount.rb, line 23 def to_str to_s end