X7ROOT File Manager
Current Path:
/opt/alt/ruby30/share/gems/gems/psych-3.3.2/lib/psych
opt
/
alt
/
ruby30
/
share
/
gems
/
gems
/
psych-3.3.2
/
lib
/
psych
/
ðŸ“
..
📄
class_loader.rb
(1.96 KB)
📄
coder.rb
(2.05 KB)
📄
core_ext.rb
(359 B)
📄
exception.rb
(264 B)
📄
handler.rb
(7.2 KB)
ðŸ“
handlers
ðŸ“
json
ðŸ“
nodes
📄
nodes.rb
(2.35 KB)
📄
omap.rb
(75 B)
📄
parser.rb
(1.67 KB)
📄
scalar_scanner.rb
(4.14 KB)
📄
set.rb
(74 B)
📄
stream.rb
(923 B)
📄
streaming.rb
(667 B)
📄
syntax_error.rb
(585 B)
📄
tree_builder.rb
(2.98 KB)
📄
versions.rb
(188 B)
ðŸ“
visitors
📄
visitors.rb
(236 B)
📄
y.rb
(190 B)
Editing: syntax_error.rb
# frozen_string_literal: true require 'psych/exception' module Psych class SyntaxError < Psych::Exception attr_reader :file, :line, :column, :offset, :problem, :context def initialize file, line, col, offset, problem, context err = [problem, context].compact.join ' ' filename = file || '<unknown>' message = "(%s): %s at line %d column %d" % [filename, err, line, col] @file = file @line = line @column = col @offset = offset @problem = problem @context = context super(message) end end end
Upload File
Create Folder