Class: Fixnum

Inherits:
Object
  • Object
show all
Defined in:
lib/number_name_string.rb

Overview

Would be ideal if we could only add this functionality only if included

Instance Method Summary collapse

Instance Method Details

#to_commaObject



9
10
11
# File 'lib/number_name_string.rb', line 9

def to_comma
  self.to_s.to_comma
end