Skip to content

Document deprecation of Psych.load_documents #95

Merged
merged 1 commit into from Nov 25, 2012
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"
Something went wrong with that request. Please try again.