Exception: Gel::Error::MismatchRubyVersionError
- Defined in:
- lib/gel/error.rb
Instance Method Summary collapse
-
#initialize(running:, requested:) ⇒ MismatchRubyVersionError
constructor
A new instance of MismatchRubyVersionError.
- #message ⇒ Object
Methods inherited from UserError
Methods included from ReportableError
Constructor Details
#initialize(running:, requested:) ⇒ MismatchRubyVersionError
Returns a new instance of MismatchRubyVersionError.
186 187 188 |
# File 'lib/gel/error.rb', line 186 def initialize(running:, requested:) super end |
Instance Method Details
#message ⇒ Object
190 191 192 |
# File 'lib/gel/error.rb', line 190 def "Running ruby version #{self[:running].inspect} does not match requested #{self[:requested].inspect}" end |