Class: NBTFile::Private::BaseToken

Inherits:
Struct
  • Object
show all
Defined in:
lib/nbtfile.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



79
80
81
# File 'lib/nbtfile.rb', line 79

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



79
80
81
# File 'lib/nbtfile.rb', line 79

def value
  @value
end