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.



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

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