Class: Flatware::SerializedClass

Inherits:
Object
  • Object
show all
Defined in:
lib/flatware/serialized_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ SerializedClass

Returns a new instance of SerializedClass.



22
# File 'lib/flatware/serialized_exception.rb', line 22

def initialize(name); @name = name end

Instance Attribute Details

#nameObject (readonly) Also known as: to_s

Returns the value of attribute name.



20
21
22
# File 'lib/flatware/serialized_exception.rb', line 20

def name
  @name
end