X7ROOT File Manager
Current Path:
/opt/alt/ruby31/share/gems/gems/psych-4.0.4/lib/psych
opt
/
alt
/
ruby31
/
share
/
gems
/
gems
/
psych-4.0.4
/
lib
/
psych
/
ðŸ“
..
📄
class_loader.rb
(1.99 KB)
📄
coder.rb
(2.05 KB)
📄
core_ext.rb
(362 B)
📄
exception.rb
(277 B)
📄
handler.rb
(7.2 KB)
ðŸ“
handlers
ðŸ“
json
ðŸ“
nodes
📄
nodes.rb
(2.38 KB)
📄
omap.rb
(75 B)
📄
parser.rb
(1.67 KB)
📄
scalar_scanner.rb
(4.68 KB)
📄
set.rb
(74 B)
📄
stream.rb
(923 B)
📄
streaming.rb
(667 B)
📄
syntax_error.rb
(588 B)
📄
tree_builder.rb
(2.99 KB)
📄
versions.rb
(188 B)
ðŸ“
visitors
📄
visitors.rb
(254 B)
📄
y.rb
(190 B)
Editing: syntax_error.rb
# frozen_string_literal: true require_relative '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