Exception: Psych::DisallowedClass
- Defined in:
- lib/psych/exception.rb
Instance Method Summary collapse
-
#initialize(action, klass_name) ⇒ DisallowedClass
constructor
A new instance of DisallowedClass.
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 |