lib/psych.rb in psych-2.0.2 vs lib/psych.rb in psych-2.0.3

- old
+ new

@@ -12,10 +12,11 @@ require 'psych/deprecated' require 'psych/stream' require 'psych/json/tree_builder' require 'psych/json/stream' require 'psych/handlers/document_stream' +require 'psych/class_loader' ### # = Overview # # Psych is a YAML parser and emitter. @@ -69,11 +70,11 @@ # Psych.load_file("database.yml") # # ==== Exception handling # # begin -# # The second argument chnages only the exception contents +# # The second argument changes only the exception contents # Psych.parse("--- `", "file.txt") # rescue Psych::SyntaxError => ex # ex.file # => 'file.txt' # ex.message # => "(file.txt): found character that cannot start any token" # end @@ -133,11 +134,11 @@ # Psych.parse_file('database.yml') # # ==== Exception handling # # begin -# # The second argument chnages only the exception contents +# # The second argument changes only the exception contents # Psych.parse("--- `", "file.txt") # rescue Psych::SyntaxError => ex # ex.file # => 'file.txt' # ex.message # => "(file.txt): found character that cannot start any token" # end @@ -214,10 +215,10 @@ # Psych::Visitors::ToRuby.new.accept(parser.handler.root.first) # # => "a" module Psych # The version is Psych you're using - VERSION = '2.0.2' + VERSION = '2.0.3' # The version of libyaml Psych is using LIBYAML_VERSION = Psych.libyaml_version.join '.' ###