Module: NumberToText

Extended by:
ActiveSupport::Autoload
Includes:
ActiveSupport::NumberHelper
Defined in:
lib/number_to_text.rb,
lib/number_to_text/version.rb,
lib/number_to_text/number_to_text_converter.rb

Defined Under Namespace

Classes: NumberToTextConverter

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.number_to_text(number, options = {}) ⇒ Object



15
16
17
# File 'lib/number_to_text.rb', line 15

def number_to_text(number, options = {})
  NumberToTextConverter.convert(number, options)
end