Exception: Undead::PhantomJSTooOld

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

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



163
164
165
166
167
168
169
170
171
172
# File 'lib/undead/errors.rb', line 163

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