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.
119 120 121 |
# File 'lib/capybara/poltergeist/errors.rb', line 119 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
117 118 119 |
# File 'lib/capybara/poltergeist/errors.rb', line 117 def version @version end |
Instance Method Details
#message ⇒ Object
123 124 125 |
# File 'lib/capybara/poltergeist/errors.rb', line 123 def "PhantomJS version #{version} is too old. You must use at least version #{Client::PHANTOMJS_VERSION}" end |