Exception: Capybara::Poltergeist::PhantomJSTooOld
- Defined in:
- lib/capybara/poltergeist/errors.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ PhantomJSTooOld
constructor
A new instance of PhantomJSTooOld.
- #message ⇒ Object
Constructor Details
#initialize(version) ⇒ PhantomJSTooOld
Returns a new instance of PhantomJSTooOld.
49 50 51 |
# File 'lib/capybara/poltergeist/errors.rb', line 49 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
47 48 49 |
# File 'lib/capybara/poltergeist/errors.rb', line 47 def version @version end |
Instance Method Details
#message ⇒ Object
53 54 55 |
# File 'lib/capybara/poltergeist/errors.rb', line 53 def "PhantomJS version #{version} is too old. You must use at least version #{Client::PHANTOMJS_VERSION}" end |