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