Class: Sequent::Core::Helpers::MessageMatchers::Any
- Inherits:
-
Struct
- Object
- Struct
- Sequent::Core::Helpers::MessageMatchers::Any
- Includes:
- ExceptOpt
- Defined in:
- lib/sequent/core/helpers/message_matchers/any.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
Returns the value of attribute opts.
Instance Method Summary collapse
Instance Attribute Details
#opts ⇒ Object
Returns the value of attribute opts
7 8 9 |
# File 'lib/sequent/core/helpers/message_matchers/any.rb', line 7 def opts @opts end |
Instance Method Details
#matches_message?(message) ⇒ Boolean
10 11 12 13 14 |
# File 'lib/sequent/core/helpers/message_matchers/any.rb', line 10 def () return false if excluded?() true end |
#to_s ⇒ Object
16 17 18 |
# File 'lib/sequent/core/helpers/message_matchers/any.rb', line 16 def to_s "any#{matcher_arguments}" end |