Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../opt/alt/ruby30/share/ruby
File: yaml.rb
# frozen_string_literal: false
[0] Fix | Delete
[1] Fix | Delete
begin
[2] Fix | Delete
require 'psych'
[3] Fix | Delete
rescue LoadError
[4] Fix | Delete
warn "It seems your ruby installation is missing psych (for YAML output).\n" \
[5] Fix | Delete
"To eliminate this warning, please install libyaml and reinstall your ruby.\n",
[6] Fix | Delete
uplevel: 1
[7] Fix | Delete
raise
[8] Fix | Delete
end
[9] Fix | Delete
[10] Fix | Delete
YAML = Psych # :nodoc:
[11] Fix | Delete
[12] Fix | Delete
# YAML Ain't Markup Language
[13] Fix | Delete
#
[14] Fix | Delete
# This module provides a Ruby interface for data serialization in YAML format.
[15] Fix | Delete
#
[16] Fix | Delete
# The YAML module is an alias of Psych, the YAML engine for Ruby.
[17] Fix | Delete
#
[18] Fix | Delete
# == Usage
[19] Fix | Delete
#
[20] Fix | Delete
# Working with YAML can be very simple, for example:
[21] Fix | Delete
#
[22] Fix | Delete
# require 'yaml'
[23] Fix | Delete
# # Parse a YAML string
[24] Fix | Delete
# YAML.load("--- foo") #=> "foo"
[25] Fix | Delete
#
[26] Fix | Delete
# # Emit some YAML
[27] Fix | Delete
# YAML.dump("foo") # => "--- foo\n...\n"
[28] Fix | Delete
# { :a => 'b'}.to_yaml # => "---\n:a: b\n"
[29] Fix | Delete
#
[30] Fix | Delete
# As the implementation is provided by the Psych library, detailed documentation
[31] Fix | Delete
# can be found in that library's docs (also part of standard library).
[32] Fix | Delete
#
[33] Fix | Delete
# == Security
[34] Fix | Delete
#
[35] Fix | Delete
# Do not use YAML to load untrusted data. Doing so is unsafe and could allow
[36] Fix | Delete
# malicious input to execute arbitrary code inside your application. Please see
[37] Fix | Delete
# doc/security.rdoc for more information.
[38] Fix | Delete
#
[39] Fix | Delete
# == History
[40] Fix | Delete
#
[41] Fix | Delete
# Syck was the original YAML implementation in Ruby's standard library
[42] Fix | Delete
# developed by why the lucky stiff.
[43] Fix | Delete
#
[44] Fix | Delete
# You can still use Syck, if you prefer, for parsing and emitting YAML, but you
[45] Fix | Delete
# must install the 'syck' gem now in order to use it.
[46] Fix | Delete
#
[47] Fix | Delete
# In older Ruby versions, ie. <= 1.9, Syck is still provided, however it was
[48] Fix | Delete
# completely removed with the release of Ruby 2.0.0.
[49] Fix | Delete
#
[50] Fix | Delete
# == More info
[51] Fix | Delete
#
[52] Fix | Delete
# For more advanced details on the implementation see Psych, and also check out
[53] Fix | Delete
# http://yaml.org for spec details and other helpful information.
[54] Fix | Delete
#
[55] Fix | Delete
# Psych is maintained by Aaron Patterson on github: https://github.com/ruby/psych
[56] Fix | Delete
#
[57] Fix | Delete
# Syck can also be found on github: https://github.com/ruby/syck
[58] Fix | Delete
module YAML
[59] Fix | Delete
end
[60] Fix | Delete
[61] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function