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