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.
103 104 105 |
# File 'lib/capybara/poltergeist/errors.rb', line 103 def initialize(version) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
101 102 103 |
# File 'lib/capybara/poltergeist/errors.rb', line 101 def version @version end |
Instance Method Details
#message ⇒ Object
107 108 109 |
# File 'lib/capybara/poltergeist/errors.rb', line 107 def "PhantomJS version #{version} is too old. You must use at least version #{Client::PHANTOMJS_VERSION}" end |