Method: BeCloseMatcher#initialize

Defined in:
lib/mspec/matchers/be_close.rb

#initialize(expected, tolerance) ⇒ BeCloseMatcher

Returns a new instance of BeCloseMatcher.



4
5
6
7
# File 'lib/mspec/matchers/be_close.rb', line 4

def initialize(expected, tolerance)
  @expected = expected
  @tolerance = tolerance
end