Manuel Bustillo 7f12fcba18
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 4m35s
Implement a cache at table level to avoid duplicate evaluations
2024-08-01 21:14:28 +02:00

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