Exception: Teapot::IncompatibleTeapotError
- Inherits:
-
StandardError
- Object
- StandardError
- Teapot::IncompatibleTeapotError
- Defined in:
- lib/teapot/loader.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(package, version) ⇒ IncompatibleTeapotError
constructor
A new instance of IncompatibleTeapotError.
Constructor Details
#initialize(package, version) ⇒ IncompatibleTeapotError
Returns a new instance of IncompatibleTeapotError.
43 44 45 |
# File 'lib/teapot/loader.rb', line 43 def initialize(package, version) super "Unsupported teapot_version #{version} in #{package.path}!" end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
47 48 49 |
# File 'lib/teapot/loader.rb', line 47 def version @version end |