Class: NBTUtils::TagName

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/nbt_utils/tag_name.rb

Instance Method Summary collapse

Instance Method Details

#valueObject

things break for some reason if you just call the string :value



11
12
13
# File 'lib/nbt_utils/tag_name.rb', line 11

def value
  data
end

#value=(other_value) ⇒ Object



15
16
17
# File 'lib/nbt_utils/tag_name.rb', line 15

def value=(other_value)
  self.data = (other_value)
end