class HttpStub::Server::Stub::Match::OmittedValueMatcher

Constants

OMITTED_CONTROL_VALUE

Public Class Methods

match?(stub_value, actual_value) click to toggle source
# File lib/http_stub/server/stub/match/omitted_value_matcher.rb, line 12
def self.match?(stub_value, actual_value)
  stub_value == OMITTED_CONTROL_VALUE && actual_value.nil?
end