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.
92 93 94 |
# File 'lib/capybara/poltergeist/errors.rb', line 92 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
90 91 92 |
# File 'lib/capybara/poltergeist/errors.rb', line 90 def version @version end |
Instance Method Details
#message ⇒ Object
96 97 98 |
# File 'lib/capybara/poltergeist/errors.rb', line 96 def "PhantomJS version #{version} is too old. You must use at least version #{Client::PHANTOMJS_VERSION}" end |