Module: Sankhya

Defined in:
lib/sankhya.rb,
lib/sankhya/words.rb,
lib/sankhya/numbers.rb,
lib/sankhya/version.rb

Defined Under Namespace

Modules: Words Classes: Numbers

Constant Summary collapse

VERSION =
'0.5.0'

Instance Method Summary collapse

Instance Method Details

#to_amount(options = {}) ⇒ Object



12
13
14
# File 'lib/sankhya.rb', line 12

def to_amount(options = {})
  Numbers.amount self, options
end

#to_words(options = {}) ⇒ Object



8
9
10
# File 'lib/sankhya.rb', line 8

def to_words(options = {})
  Numbers.translate self, options
end