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.



32
33
34
# File 'lib/flatware/serialized_exception.rb', line 32

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (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