Class: Numeric

Inherits:
Object show all
Defined in:
lib/lowline.rb

Instance Method Summary collapse

Instance Method Details

#to_pretty_sObject



5
6
7
# File 'lib/lowline.rb', line 5

def to_pretty_s
  %w(zero one two three four five six seven eight nine ten)[self] || to_s
end