Class: Flatware::SerializedClass
- Inherits:
-
Object
- Object
- Flatware::SerializedClass
- Defined in:
- lib/flatware/serialized_exception.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
(also: #to_s)
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ SerializedClass
constructor
A new instance of SerializedClass.
Constructor Details
#initialize(name) ⇒ SerializedClass
Returns a new instance of SerializedClass.
32 33 34 |
# File 'lib/flatware/serialized_exception.rb', line 32 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly) Also known as: to_s
Returns the value of attribute name.
30 31 32 |
# File 'lib/flatware/serialized_exception.rb', line 30 def name @name end |