11 lines
149 B
Ruby

class Numeric
def to_currency
Money.from_amount(self, "EUR").format
end
end
class Array
def to_table
Tables::Table.new(self)
end
end