Method: LZMA::Encoder#close
- Defined in:
- lib/extlzma.rb
#close ⇒ Object
179 180 181 182 183 184 185 186 187 188 189 |
# File 'lib/extlzma.rb', line 179 def close if eof? raise "already closed stream - #{inspect}" end self.class.method(:finalizer_close).(context, outport, workbuf) status[0] = nil nil end |