Sha256: e9653913669c89c819807f2e429e517a68c2584262efc52a8595d5cce87f966c

Contents?: true

Size: 71 Bytes

Versions: 3

Compression:

Stored size: 71 Bytes

Contents

class Symbol
  def to_currency
    Money::Currency.new(self)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
monetize-0.1.2 lib/monetize/core_extensions/symbol.rb
monetize-0.1.1 lib/monetize/core_extensions/symbol.rb
monetize-0.1.0 lib/monetize/core_extensions/symbol.rb