diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-27 19:14:53 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-27 19:14:53 -0700 |
commit | 5f1a7543e7bcde61323cd02fb3a82ceda733d051 (patch) | |
tree | cb7ddf55ce1991aa7600f50cfcc2ec15fc0b3ac4 /lib | |
parent | 47c4176ce9a349bac0417ebada7690babf79b2a5 (diff) | |
download | psych-5f1a7543e7bcde61323cd02fb3a82ceda733d051.zip |
removed the to_yaml method
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/core_ext.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/psych/core_ext.rb b/lib/psych/core_ext.rb index d8f79eb..1cf79af 100644 --- a/lib/psych/core_ext.rb +++ b/lib/psych/core_ext.rb @@ -13,7 +13,8 @@ class Object Psych.add_tag(url, self) end - def to_yaml options = {} + def psych_to_yaml options = {} Psych.dump self, options end + #alias :to_yaml :psych_to_yaml end |