Sha256: af52afc0fe5686301a011af7e2123105070bb1804116ff79be36fcb627348342

Contents?: true

Size: 161 Bytes

Versions: 1

Compression:

Stored size: 161 Bytes

Contents

require 'money'

module LemonadeStand
  module Display
    def self.money input
      Money.use_i18n = false
      "$" + Money.new(input).to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lemonade_stand-0.0.1 lib/lemonade_stand/display.rb