module Given::Fuzzy
Public Instance Methods
about(*args)
click to toggle source
Create an approximate number that is approximately equal to the given number, plus or minus the delta value. If no explicit delta is given, then the default delta that is about 10X the size of the smallest possible change in the given number will be used.
# File lib/given/fuzzy_number.rb 64 def about(*args) 65 FuzzyNumber.new(*args) 66 end