class NestedText::Errors::UnsupportedTopLevelTypeError

Public Class Methods

new(type_class) click to toggle source
Calls superclass method
# File lib/nestedtext/errors_internal.rb, line 256
def initialize(type_class)
  super("The given top level type #{type_class&.name} is unsupported." \
        "Chose between #{TOP_LEVEL_TYPES.join(', ')}.")
end