Class: NBTUtils::Tag::End
- Inherits:
-
Object
- Object
- NBTUtils::Tag::End
- Includes:
- NBTUtils::Tag
- Defined in:
- lib/nbt_utils/tag/end.rb
Instance Attribute Summary
Attributes included from NBTUtils::Tag
Instance Method Summary collapse
-
#initialize ⇒ End
constructor
A new instance of End.
- #to_nbt_string ⇒ Object
- #to_s ⇒ Object
Methods included from NBTUtils::Tag
add_tag_type, #binary_type_id, included, #name_to_nbt_string, #read_name, #set_value, #tag_type_to_class, tag_type_to_class, #type_id
Constructor Details
#initialize ⇒ End
Returns a new instance of End.
10 11 12 |
# File 'lib/nbt_utils/tag/end.rb', line 10 def initialize(...) @name = '' end |
Instance Method Details
#to_nbt_string ⇒ Object
18 19 20 |
# File 'lib/nbt_utils/tag/end.rb', line 18 def to_nbt_string(...) binary_type_id end |
#to_s ⇒ Object
14 15 16 |
# File 'lib/nbt_utils/tag/end.rb', line 14 def to_s(...) '' end |