Class: ScriptCore::EngineUnknownTypeError
- Inherits:
-
EngineInternalError
- Object
- ScriptCore::EngineUnknownTypeError
- Defined in:
- lib/script_core/engine_error.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type:) ⇒ EngineUnknownTypeError
constructor
A new instance of EngineUnknownTypeError.
Constructor Details
#initialize(type:) ⇒ EngineUnknownTypeError
Returns a new instance of EngineUnknownTypeError.
73 74 75 76 |
# File 'lib/script_core/engine_error.rb', line 73 def initialize(type:) @type = type super("unknown type #{type}") end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
71 72 73 |
# File 'lib/script_core/engine_error.rb', line 71 def type @type end |