Method: Avro::UnknownSchemaError#initialize
- Defined in:
- lib/avro/schema.rb
#initialize(type, default_namespace) ⇒ UnknownSchemaError
Returns a new instance of UnknownSchemaError.
626 627 628 629 630 |
# File 'lib/avro/schema.rb', line 626 def initialize(type, default_namespace) @type_name = type @default_namespace = default_namespace super("#{type.inspect} is not a schema we know about.") end |