📁 File Manager Pro
Advanced File Management System
/
opt
/
alt
/
ruby22
/
lib64
/
ruby
/
2.2.0
/
psych
/
handlers
Server Path:
/opt/alt/ruby22/lib64/ruby/2.2.0/psych/handlers
📄 Create New File
Create File
📁 Create New Folder
Create Folder
⬆️ Upload File
Upload File
📄
document_stream.rb
Edit
Delete
Rename
📄
recorder.rb
Edit
Delete
Rename
✏️ Editing: document_stream.rb
require 'psych/tree_builder' module Psych module Handlers class DocumentStream < Psych::TreeBuilder # :nodoc: def initialize &block super @block = block end def start_document version, tag_directives, implicit n = Nodes::Document.new version, tag_directives, implicit push n end def end_document implicit_end = !streaming? @last.implicit_end = implicit_end @block.call pop end end end end
💾 Save Changes