Class Bacon::TestUnitOutput::Numeric
In: lib/bacon.rb
Parent: Object

Methods

close?  

Public Instance methods

[Source]

     # File lib/bacon.rb, line 238
238:   def close?(to, delta)
239:     (to.to_f - self).abs <= delta.to_f  rescue false
240:   end

[Validate]