Class: Capybara::CapybaraError
- Inherits:
-
Object
- Object
- Capybara::CapybaraError
- Includes:
- Enrichment
- Defined in:
- lib/capybara/core_ext/capybara_error.rb
Overview
Capybara::CapybaraError extension
Instance Method Summary collapse
-
#initialize(msg) ⇒ CapybaraError
constructor
private
A new instance of CapybaraError.
Methods included from Enrichment
Constructor Details
#initialize(msg) ⇒ CapybaraError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of CapybaraError.
10 11 12 |
# File 'lib/capybara/core_ext/capybara_error.rb', line 10 def initialize(msg) super(rich_msg(msg)) end |