SILENT KILLERPanel

Current Path: > > opt > alt > ruby31 > > share > ruby > psych


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/ruby31//share/ruby/psych

NameTypeSizeLast ModifiedActions
handlers Directory - -
json Directory - -
nodes Directory - -
visitors Directory - -
class_loader.rb File 2034 bytes April 28 2025 17:36:08.
coder.rb File 2098 bytes April 28 2025 17:36:08.
core_ext.rb File 362 bytes April 28 2025 17:36:08.
exception.rb File 277 bytes April 28 2025 17:36:08.
handler.rb File 7369 bytes April 28 2025 17:36:08.
nodes.rb File 2432 bytes April 28 2025 17:36:08.
omap.rb File 75 bytes April 28 2025 17:36:08.
parser.rb File 1711 bytes April 28 2025 17:36:08.
scalar_scanner.rb File 4788 bytes April 28 2025 17:36:08.
set.rb File 74 bytes April 28 2025 17:36:08.
stream.rb File 923 bytes April 28 2025 17:36:08.
streaming.rb File 667 bytes April 28 2025 17:36:08.
syntax_error.rb File 588 bytes April 28 2025 17:36:08.
tree_builder.rb File 3058 bytes April 28 2025 17:36:08.
versions.rb File 188 bytes April 28 2025 17:36:08.
visitors.rb File 254 bytes April 28 2025 17:36:08.
y.rb File 190 bytes April 28 2025 17:36:08.

Reading File: //opt/alt/ruby31//share/ruby/psych/streaming.rb

# frozen_string_literal: true
module Psych
  module Streaming
    module ClassMethods
      ###
      # Create a new streaming emitter.  Emitter will print to +io+.  See
      # Psych::Stream for an example.
      def new io
        emitter      = const_get(:Emitter).new(io)
        class_loader = ClassLoader.new
        ss           = ScalarScanner.new class_loader
        super(emitter, ss, {})
      end
    end

    ###
    # Start streaming using +encoding+
    def start encoding = Nodes::Stream::UTF8
      super.tap { yield self if block_given?  }
    ensure
      finish if block_given?
    end

    private
    def register target, obj
    end
  end
end

SILENT KILLER Tool