Exception: Capybara::Poltergeist::PhantomJSTooOld

Inherits:
Error
  • Object
show all
Defined in:
lib/capybara/poltergeist/errors.rb

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



197
198
199
200
201
202
203
204
205
206
# File 'lib/capybara/poltergeist/errors.rb', line 197

def self.===(other)
  if Cliver::Dependency::VersionMismatch === other
    warn "#{name} exception has been deprecated in favor of using the " +
         "cliver gem for command-line dependency detection. Please " +
         "handle Cliver::Dependency::VersionMismatch instead."
    true
  else
    super
  end
end