Class/Module Index [+]

Quicksearch

RSpec::Matchers::BuiltIn::NegativeOperatorMatcher

Public Instance Methods

__delegate_operator(actual, operator, expected) click to toggle source
# File lib/rspec/matchers/operator_matcher.rb, line 106
def __delegate_operator(actual, operator, expected)
  return false unless actual.__send__(operator, expected)
  return fail_with_message("expected not: #{operator} #{expected.inspect}\n         got: #{operator.gsub(/./, ' ')} #{actual.inspect}")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.