Exception: Isomorphic::InvalidNodeClass
- Inherits:
-
NodeError
- Object
- StandardError
- IsomorphicError
- NodeError
- Isomorphic::InvalidNodeClass
- Defined in:
- lib/isomorphic/node.rb
Overview
Raised when an Isomorphic node cannot find a class.
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Attributes inherited from IsomorphicError
Instance Method Summary collapse
-
#initialize(message = nil, klass) ⇒ InvalidNodeClass
constructor
Default constructor.
Constructor Details
#initialize(message = nil, klass) ⇒ InvalidNodeClass
Default constructor.
35 36 37 38 39 |
# File 'lib/isomorphic/node.rb', line 35 def initialize( = nil, klass) super() @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
29 30 31 |
# File 'lib/isomorphic/node.rb', line 29 def klass @klass end |