Module: NumberHumanizer::NumericExtensions

Included in:
Float, Integer
Defined in:
lib/number_humanizer/monkey_patchers.rb

Instance Method Summary collapse

Instance Method Details

#present?Boolean



23
24
25
# File 'lib/number_humanizer/monkey_patchers.rb', line 23

def present?
  true
end

#to_word(**args) ⇒ Object



19
20
21
# File 'lib/number_humanizer/monkey_patchers.rb', line 19

def to_word(**args)
  NumberHumanizer::Manager.new(self, **args).call.result
end