Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix exception heirarchy

  • Loading branch information...
commit c542922bd301b536af3bfdec5777525acf5a4a10 1 parent 8de3356
@tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/psych.rb
View
2  lib/psych.rb
@@ -106,7 +106,7 @@ class Exception < RuntimeError
class BadAlias < Exception
end
- class DisallowedClass < RuntimeError
+ class DisallowedClass < Exception
def initialize klass_name
super "Tried to load unspecified class: #{klass_name}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.