Class: Capybara::RSpecMatchers::Matchers::Base
- Inherits:
-
Object
- Object
- Capybara::RSpecMatchers::Matchers::Base
- Includes:
- Compound
- Defined in:
- lib/capybara/rspec/matchers/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#failure_message ⇒ Object
readonly
Returns the value of attribute failure_message.
-
#failure_message_when_negated ⇒ Object
readonly
Returns the value of attribute failure_message_when_negated.
Instance Method Summary collapse
-
#initialize(*args, &filter_block) ⇒ Base
constructor
A new instance of Base.
Methods included from Compound
Constructor Details
#initialize(*args, &filter_block) ⇒ Base
Returns a new instance of Base.
13 14 15 16 |
# File 'lib/capybara/rspec/matchers/base.rb', line 13 def initialize(*args, &filter_block) @args = args.dup @filter_block = filter_block end |
Instance Attribute Details
#failure_message ⇒ Object (readonly)
Returns the value of attribute failure_message.
11 12 13 |
# File 'lib/capybara/rspec/matchers/base.rb', line 11 def @failure_message end |
#failure_message_when_negated ⇒ Object (readonly)
Returns the value of attribute failure_message_when_negated.
11 12 13 |
# File 'lib/capybara/rspec/matchers/base.rb', line 11 def @failure_message_when_negated end |