OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
ruby
/
2.5.0
/
psych
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:11 AM
rwxr-xr-x
📄
class_loader.rb
1.91 KB
05/15/2023 11:41:43 AM
rw-r--r--
📄
coder.rb
2.05 KB
05/15/2023 11:41:43 AM
rw-r--r--
📄
core_ext.rb
359 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
exception.rb
264 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
handler.rb
7.19 KB
05/15/2023 11:41:43 AM
rw-r--r--
📁
handlers
-
05/09/2024 07:14:11 AM
rwxr-xr-x
📁
json
-
05/09/2024 07:14:11 AM
rwxr-xr-x
📁
nodes
-
05/09/2024 07:14:11 AM
rwxr-xr-x
📄
nodes.rb
2.35 KB
05/15/2023 11:41:43 AM
rw-r--r--
📄
omap.rb
75 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
parser.rb
1.67 KB
05/15/2023 11:41:43 AM
rw-r--r--
📄
scalar_scanner.rb
4.24 KB
05/15/2023 11:41:43 AM
rw-r--r--
📄
set.rb
74 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
stream.rb
923 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
streaming.rb
667 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
syntax_error.rb
585 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
tree_builder.rb
2.98 KB
05/15/2023 11:41:43 AM
rw-r--r--
📄
versions.rb
186 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📁
visitors
-
05/09/2024 07:14:11 AM
rwxr-xr-x
📄
visitors.rb
236 bytes
05/15/2023 11:41:43 AM
rw-r--r--
📄
y.rb
190 bytes
05/15/2023 11:41:43 AM
rw-r--r--
Editing: stream.rb
Close
# frozen_string_literal: true module Psych ### # Psych::Stream is a streaming YAML emitter. It will not buffer your YAML, # but send it straight to an IO. # # Here is an example use: # # stream = Psych::Stream.new($stdout) # stream.start # stream.push({:foo => 'bar'}) # stream.finish # # YAML will be immediately emitted to $stdout with no buffering. # # Psych::Stream#start will take a block and ensure that Psych::Stream#finish # is called, so you can do this form: # # stream = Psych::Stream.new($stdout) # stream.start do |em| # em.push(:foo => 'bar') # end # class Stream < Psych::Visitors::YAMLTree class Emitter < Psych::Emitter # :nodoc: def end_document implicit_end = !streaming? super end def streaming? true end end include Psych::Streaming extend Psych::Streaming::ClassMethods end end