Class: Integer

Inherits:
Object show all
Defined in:
dragon/numeric.rb

Instance Method Summary collapse

Instance Method Details

#__original_round__Object


752
# File 'dragon/numeric.rb', line 752

alias_method :__original_round__,    :round

#nan?Boolean

Returns:

  • (Boolean)

762
763
764
# File 'dragon/numeric.rb', line 762

def nan?
  false
end

#round(*args) ⇒ Object


758
759
760
# File 'dragon/numeric.rb', line 758

def round *args
  __original_round__
end