Exception: RubyDep::Travis::RubyVersion::Error::Unrecognized
- Inherits:
-
RubyDep::Travis::RubyVersion::Error
- Object
- RuntimeError
- RubyDep::Travis::RubyVersion::Error
- RubyDep::Travis::RubyVersion::Error::Unrecognized
- Defined in:
- lib/ruby_dep/travis/ruby_version.rb
Direct Known Subclasses
Defined Under Namespace
Classes: JRubyVersion
Instance Method Summary collapse
-
#initialize(invalid_version_string) ⇒ Unrecognized
constructor
A new instance of Unrecognized.
- #message ⇒ Object
Constructor Details
#initialize(invalid_version_string) ⇒ Unrecognized
Returns a new instance of Unrecognized.
15 16 17 |
# File 'lib/ruby_dep/travis/ruby_version.rb', line 15 def initialize(invalid_version_string) @invalid_version_string = invalid_version_string end |
Instance Method Details
#message ⇒ Object
19 20 21 |
# File 'lib/ruby_dep/travis/ruby_version.rb', line 19 def "Unrecognized Ruby version: #{@invalid_version_string.inspect}" end |