Skip to content

Commit

Permalink
Merge branch 'master' into embed
Browse files Browse the repository at this point in the history
* master:
  Update README.rdoc
  * lib/psych/deprecated.rb (load_documents): document deprecation
  • Loading branch information
tenderlove committed Nov 28, 2012
2 parents 249f908 + b3609ae commit e6bdf6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -24,7 +24,7 @@ to and from the YAML format.
== Installation

Psych has been included with MRI since 1.9.2,
and is the fault YAML parser in 1.9.3.
and is the default YAML parser in 1.9.3.

If you want a newer gem release of Psych, you can use rubygems:

Expand Down
1 change: 1 addition & 0 deletions lib/psych/deprecated.rb
Expand Up @@ -21,6 +21,7 @@ def self.quick_emit thing, opts = {}, &block # :nodoc:
target.psych_to_yaml unless opts[:nodump]
end

# This method is deprecated, use Psych.load_stream instead.
def self.load_documents yaml, &block
if $VERBOSE
warn "#{caller[0]}: load_documents is deprecated, use load_stream"
Expand Down

0 comments on commit e6bdf6f

Please sign in to comment.