Sha256: 78101414f86b7f0a063edfa686f327c6ab916ccdf804989c5ed9a74ba312f4e3

Contents?: true

Size: 90 Bytes

Versions: 28

Compression:

Stored size: 90 Bytes

Contents

# encoding: utf-8

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

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
monetize-1.1.0 lib/monetize/core_extensions/symbol.rb
monetize-1.0.0 lib/monetize/core_extensions/symbol.rb
monetize-0.4.1 lib/monetize/core_extensions/symbol.rb
monetize-0.4.0 lib/monetize/core_extensions/symbol.rb
monetize-0.3.0 lib/monetize/core_extensions/symbol.rb
monetize-0.2.0 lib/monetize/core_extensions/symbol.rb
monetize-0.1.4 lib/monetize/core_extensions/symbol.rb
monetize-0.1.3 lib/monetize/core_extensions/symbol.rb