Permalink
Browse files

Merge pull request #95 from stomar/doc_deprecated

Document deprecation of Psych.load_documents
  • Loading branch information...
2 parents 7e88269 + d525d9f commit b3609ae8edeea80c0eda4d406011f740fb639cf2 @zzak zzak committed Nov 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/psych/deprecated.rb
View
1 lib/psych/deprecated.rb
@@ -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"

0 comments on commit b3609ae

Please sign in to comment.