Exception: KDL::UnsupportedVersionError
- Defined in:
- lib/kdl/error.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, version = nil, filename = nil) ⇒ UnsupportedVersionError
constructor
A new instance of UnsupportedVersionError.
Constructor Details
#initialize(message, version = nil, filename = nil) ⇒ UnsupportedVersionError
Returns a new instance of UnsupportedVersionError.
30 31 32 33 |
# File 'lib/kdl/error.rb', line 30 def initialize(, version = nil, filename = nil) super(, filename, 1, 1) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
28 29 30 |
# File 'lib/kdl/error.rb', line 28 def version @version end |