Class: Logux::Test::Matchers::Base
- Inherits:
-
Object
- Object
- Logux::Test::Matchers::Base
- Defined in:
- lib/logux/test/matchers/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
Instance Method Summary collapse
-
#initialize(*expected) ⇒ Base
constructor
A new instance of Base.
- #supports_block_expectations? ⇒ Boolean
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
#expected ⇒ Object (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
13 14 15 |
# File 'lib/logux/test/matchers/base.rb', line 13 def supports_block_expectations? true end |