Class: Capybara::CapybaraError

Inherits:
Object
  • Object
show all
Includes:
Enrichment
Defined in:
lib/capybara/core_ext/capybara_error.rb

Overview

Capybara::CapybaraError extension

Instance Method Summary collapse

Methods included from Enrichment

#rich_msg

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