Class: Float

Inherits:
Object show all
Includes:
WordNumberComparaisons
Defined in:
lib/code-ruby.rb

Instance Method Summary collapse

Methods included from WordNumberComparaisons

#eight?, #five?, #four?, #nine?, #one?, #seven?, #six?, #ten?, #three?, #two?, #zero?

Instance Method Details

#to_codeObject



130
131
132
# File 'lib/code-ruby.rb', line 130

def to_code
  Code::Object::Decimal.new(self)
end