Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/procview/runner.rb
Instance Method Summary collapse
Instance Method Details
#near?(another_float, delta = 0.01) ⇒ Boolean
7 8 9 |
# File 'lib/procview/runner.rb', line 7 def near?(another_float,delta=0.01) self.abs - another_float.abs < delta end |