Exception: Teapot::IncompatibleTeapotError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/teapot/loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(package, version) ⇒ IncompatibleTeapotError

Returns a new instance of IncompatibleTeapotError.



41
42
43
# File 'lib/teapot/loader.rb', line 41

def initialize(package, version)
	super "Unsupported teapot_version #{version} in #{package.path}!"
end

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



45
46
47
# File 'lib/teapot/loader.rb', line 45

def version
  @version
end