diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-05-18 20:23:07 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-05-18 20:23:07 -0700 |
commit | 18a88dd3f40abf73451e6be1a93d6307d111c66b (patch) | |
tree | 72c5ac7de118dfd8533fbb596ae0b7a977ad5a37 /lib/psych.rb | |
parent | 07667473d0ec204eb2cfa7b8938ae2f5010e3220 (diff) | |
download | psych-18a88dd3f40abf73451e6be1a93d6307d111c66b.zip |
setting the encoding twice is not allowed
Diffstat (limited to 'lib/psych.rb')
-rw-r--r-- | lib/psych.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/psych.rb b/lib/psych.rb index 464fae4..a73b892 100644 --- a/lib/psych.rb +++ b/lib/psych.rb @@ -94,6 +94,9 @@ module Psych # The version of libyaml Psych is using LIBYAML_VERSION = Psych.libyaml_version.join '.' + class Exception < RuntimeError + end + ### # Load +yaml+ in to a Ruby data structure. If multiple documents are # provided, the object contained in the first document will be returned. |