Object
# File lib/rspec/matchers/built_in/satisfy.rb, line 24 def description "satisfy block" end
# File lib/rspec/matchers/built_in/satisfy.rb, line 16 def failure_message_for_should "expected #{@actual} to satisfy block" end
# File lib/rspec/matchers/built_in/satisfy.rb, line 20 def failure_message_for_should_not "expected #{@actual} not to satisfy block" end
# File lib/rspec/matchers/built_in/satisfy.rb, line 9 def matches?(actual, &block) @block = block if block @actual = actual @block.call(actual) end
Generated with the Darkfish Rdoc Generator 2.