Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #95 from stomar/doc_deprecated

Document deprecation of Psych.load_documents
  • Loading branch information...
commit b3609ae8edeea80c0eda4d406011f740fb639cf2 2 parents 7e88269 + d525d9f
@zzak zzak authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.