Class: NBTFile::Emitter
- Inherits:
-
Object
- Object
- NBTFile::Emitter
- Defined in:
- lib/rubycraft/nbt_helper.rb
Instance Method Summary collapse
-
#initialize(stream) ⇒ Emitter
constructor
A new instance of Emitter.
Constructor Details
#initialize(stream) ⇒ Emitter
Returns a new instance of Emitter.
14 15 16 17 |
# File 'lib/rubycraft/nbt_helper.rb', line 14 def initialize(stream) @gz = stream @state = NBTFile::Private::TopEmitterState.new end |