Class: Attributary::DSL::AttributaryError
- Inherits:
-
Object
- Object
- Attributary::DSL::AttributaryError
- Defined in:
- lib/attributary/dsl/error.rb
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, klass, message) ⇒ AttributaryError
constructor
A new instance of AttributaryError.
Constructor Details
#initialize(name, klass, message) ⇒ AttributaryError
Returns a new instance of AttributaryError.
5 6 7 8 9 |
# File 'lib/attributary/dsl/error.rb', line 5 def initialize(name, klass, ) @name = name @klass = klass @message = end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
4 5 6 |
# File 'lib/attributary/dsl/error.rb', line 4 def klass @klass end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/attributary/dsl/error.rb', line 4 def @message end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/attributary/dsl/error.rb', line 4 def name @name end |