class NestedText::Errors::WrongInputTypeError

Public Class Methods

new(class_exps, class_act) click to toggle source
Calls superclass method
# File lib/nestedtext/errors_internal.rb, line 263
def initialize(class_exps, class_act)
  super("The given input type #{class_act.class.name} is unsupported. " \
        "Expected to be of types #{class_exps.map(&:name).join(', ')}")
end