Class: Doom::Wad::Reader::DirectoryEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/wad/reader.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/doom/wad/reader.rb', line 9

def name
  @name
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



9
10
11
# File 'lib/doom/wad/reader.rb', line 9

def offset
  @offset
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



9
10
11
# File 'lib/doom/wad/reader.rb', line 9

def size
  @size
end