class MicroMoney < Money # Forces the :units => :millicents option. def initialize(money, *args) options = args.last.is_a?(Hash) ? args.pop : {} options.merge!(:units => :millicents) super(money, *(args << options)) end ### OUTPUT/CONVERSIONS # Conversion to MicroMoney. def to_micro_money self end # Conversion to Money. def to_money Money.new(millicents, currency, bank, :units => :millicents) end end