From 803653a94027596864d8776e64807906fd44bb68 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 5 Apr 2013 10:58:01 -0700 Subject: * 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 --- lib/psych.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/psych.rb') 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. -- cgit v1.2.3