Class: Lump

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-doom.rb

Direct Known Subclasses

DecodedLump, UndecodedLump

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



355
356
357
# File 'lib/ruby-doom.rb', line 355

def name
  @name
end