class Money::ReverseOperationProxy
Public Class Methods
new(value)
click to toggle source
# File lib/money/money.rb, line 168 def initialize(value) @value = value end
Public Instance Methods
*(other)
click to toggle source
# File lib/money/money.rb, line 184 def *(other) other * @value end
+(other)
click to toggle source
# File lib/money/money.rb, line 176 def +(other) other + @value end
-(other)
click to toggle source
# File lib/money/money.rb, line 180 def -(other) -(other - @value) end
<=>(other)
click to toggle source
# File lib/money/money.rb, line 172 def <=>(other) -(other <=> @value) end