Exception: Psych::DisallowedClass

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

Instance Method Summary collapse

Constructor Details

#initialize(action, klass_name) ⇒ DisallowedClass

Returns a new instance of DisallowedClass.



24
25
26
# File 'lib/psych/exception.rb', line 24

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