Module: ExampleExpectations

Defined in:
lib/vendor/plugins/rspec/spec/spec/expectations/handler_spec.rb

Defined Under Namespace

Classes: ArbitraryMatcher, PositiveOnlyMatcher

Instance Method Summary collapse

Instance Method Details

#arbitrary_matcher(*args, &block) ⇒ Object



37
38
39
# File 'lib/vendor/plugins/rspec/spec/spec/expectations/handler_spec.rb', line 37

def arbitrary_matcher(*args, &block)
  ArbitraryMatcher.new(*args, &block)
end

#positive_only_matcher(*args, &block) ⇒ Object



41
42
43
# File 'lib/vendor/plugins/rspec/spec/spec/expectations/handler_spec.rb', line 41

def positive_only_matcher(*args, &block)
  PositiveOnlyMatcher.new(*args, &block)
end