Sha256: 0af6663791fb59297037e8f23167920b4902da55332580655f167be974b68ca5
Contents?: true
Size: 296 Bytes
Versions: 38
Compression:
Stored size: 296 Bytes
Contents
module XeroGateway module Money def self.included(base) base.extend(ClassMethods) end module ClassMethods def format_money(amount) if amount.class == BigDecimal return amount.to_s("F") end return amount end end end end
Version data entries
38 entries across 38 versions & 4 rubygems