Class: HttpStub::Server::Stub::Match::TruthyMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/http_stub/server/stub/match/truthy_matcher.rb

Class Method Summary collapse

Class Method Details

.matches?(_request, _logger) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/http_stub/server/stub/match/truthy_matcher.rb', line 10

def matches?(_request, _logger)
  true
end

.to_sObject



14
15
16
# File 'lib/http_stub/server/stub/match/truthy_matcher.rb', line 14

def to_s
  ""
end