Exception: RubyChecker::OutdatedRubyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_checker/errors.rb

Overview

OutdatedRubyError is raised whenever the current Ruby is detected to be too old.

Instance Method Summary collapse

Constructor Details

#initialize(supported) ⇒ OutdatedRubyError

Returns a new instance of OutdatedRubyError.



49
50
51
# File 'lib/ruby_checker/errors.rb', line 49

def initialize(supported)
  super("Please, use Ruby #{supported}")
end