class Numeric
100.37.to_money => #<Money @cents=10037>
100.to_money => #<Money @cents=10000>
Allows Writing of 100.to_money for Numeric
types
frozen_string_literal: true
def to_money(currency = nil)
def to_money(currency = nil) Money.new(self, currency) end