Class: RSpec::JsonMatchers::Expectations::Private::SatisfyingCallable
- Inherits:
-
Core::SingleValueCallableExpectation
- Object
- RSpec::JsonMatchers::Expectation
- Core::CallableExpectation
- Core::SingleValueCallableExpectation
- RSpec::JsonMatchers::Expectations::Private::SatisfyingCallable
- Defined in:
- lib/rspec/json_matchers/expectations/private.rb
Overview
Takes exactly one object Use stored proc for checking ‘value`
Instance Method Summary collapse
Methods inherited from Core::SingleValueCallableExpectation
Methods inherited from Core::CallableExpectation
Methods inherited from RSpec::JsonMatchers::Expectation
Instance Method Details
#expect?(value) ⇒ Boolean
128 129 130 |
# File 'lib/rspec/json_matchers/expectations/private.rb', line 128 def expect?(value) callable.call(value) end |