diff options
Diffstat (limited to 'lib/psych/exception.rb')
-rw-r--r-- | lib/psych/exception.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psych/exception.rb b/lib/psych/exception.rb index fac0c42..f473b95 100644 --- a/lib/psych/exception.rb +++ b/lib/psych/exception.rb @@ -7,8 +7,8 @@ module Psych end class DisallowedClass < Exception - def initialize klass_name - super "Tried to load unspecified class: #{klass_name}" + def initialize action, klass_name + super "Tried to #{action} unspecified class: #{klass_name}" end end end |