Class: Lump
- Inherits:
-
Object
- Object
- Lump
- Defined in:
- lib/ruby-doom.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Lump
constructor
A new instance of Lump.
Constructor Details
#initialize(name) ⇒ Lump
Returns a new instance of Lump.
356 357 358 |
# File 'lib/ruby-doom.rb', line 356 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
355 356 357 |
# File 'lib/ruby-doom.rb', line 355 def name @name end |