diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-01-03 16:23:07 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-01-03 16:23:07 -0800 |
commit | 53907513fd879d67896f2b87041be9c5f92259bb (patch) | |
tree | 6a195087b978b982feb9218dd832c82cdf2069a2 /lib | |
parent | 50eb0f3abbcc423b583c7a23a0a74620b6623342 (diff) | |
download | psych-53907513fd879d67896f2b87041be9c5f92259bb.zip |
supporting io objects in the parse method
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/parser.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/psych/parser.rb b/lib/psych/parser.rb index caa544c..0e38a4a 100644 --- a/lib/psych/parser.rb +++ b/lib/psych/parser.rb @@ -40,15 +40,5 @@ module Psych def initialize handler = Handler.new @handler = handler end - - ### - # Parse the YAML document contained in +yaml+. Events will be called on - # the handler set on the parser instance. - # - # See Psych::Parser and Psych::Parser#handler - - def parse yaml - parse_string string - end end end |