Class: HttpStub::Server::Stub::Match::Rule::Truthy

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

Class Method Summary collapse

Class Method Details

.matches?(_request, _logger) ⇒ Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/http_stub/server/stub/match/rule/truthy.rb', line 11

def matches?(_request, _logger)
  true
end

.to_sObject


15
16
17
# File 'lib/http_stub/server/stub/match/rule/truthy.rb', line 15

def to_s
  ""
end