Class: Logux::Test::Matchers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/logux/test/matchers/base.rb

Direct Known Subclasses

ResponseChunks, SendToLogux

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*expected) ⇒ Base

Returns a new instance of Base.



9
10
11
# File 'lib/logux/test/matchers/base.rb', line 9

def initialize(*expected)
  @expected = expected
end

Instance Attribute Details

#expectedObject (readonly)

Returns the value of attribute expected.



7
8
9
# File 'lib/logux/test/matchers/base.rb', line 7

def expected
  @expected
end

Instance Method Details

#supports_block_expectations?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/logux/test/matchers/base.rb', line 13

def supports_block_expectations?
  true
end