summaryrefslogtreecommitdiff
path: root/lib/psych.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-04-05 10:58:01 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-04-05 10:58:01 -0700
commit803653a94027596864d8776e64807906fd44bb68 (patch)
tree5ae1e412b9061c967276624521f867df94d1b78f /lib/psych.rb
parent0c82d6d009eceb2bac048c2262f68c1fc494dde9 (diff)
downloadpsych-803653a94027596864d8776e64807906fd44bb68.tar.gz
* ext/psych/lib/psych/exception.rb: there should be only one exception
base class. Fixes tenderlove/psych #125 * ext/psych/lib/psych.rb: require the correct exception class * ext/psych/lib/psych/syntax_error.rb: ditto * ext/psych/lib/psych/visitors/to_ruby.rb: ditto fixes #125
Diffstat (limited to 'lib/psych.rb')
-rw-r--r--lib/psych.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/psych.rb b/lib/psych.rb
index 3ca6117..7d7d2bf 100644
--- a/lib/psych.rb
+++ b/lib/psych.rb
@@ -221,12 +221,6 @@ module Psych
# The version of libyaml Psych is using
LIBYAML_VERSION = Psych.libyaml_version.join '.'
- class Exception < RuntimeError
- end
-
- class BadAlias < Exception
- end
-
###
# Load +yaml+ in to a Ruby data structure. If multiple documents are
# provided, the object contained in the first document will be returned.