Module: Money::Currency::Heuristics

Included in:
Money::Currency
Defined in:
lib/money/currency/heuristics.rb

Instance Method Summary collapse

Instance Method Details

#analyze(str) ⇒ Object

Raises:

  • (StandardError)

6
7
8
# File 'lib/money/currency/heuristics.rb', line 6

def analyze(str)
  raise StandardError, 'Heuristics deprecated, add `gem "money-heuristics"` to Gemfile'
end