Exception: Psych::DisallowedClass

Inherits:
Exception show all
Defined in:
lib/psych/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass_name) ⇒ DisallowedClass

Returns a new instance of DisallowedClass.



9
10
11
# File 'lib/psych/exception.rb', line 9

def initialize klass_name
  super "Tried to load unspecified class: #{klass_name}"
end