Class: AsciiDataTools::RecordType::UnknownType

Inherits:
Type
  • Object
show all
Includes:
Decoder::UnknownRecordDecoder
Defined in:
lib/ascii-data-tools/record_type.rb

Constant Summary collapse

UNKNOWN_RECORD_TYPE_NAME =
"unknown"

Instance Attribute Summary

Attributes inherited from Type

#name

Instance Method Summary collapse

Methods included from Decoder::UnknownRecordDecoder

#decode

Methods inherited from Type

#field_with_name, #filename_should_match, #method_missing

Constructor Details

#initializeUnknownType

Returns a new instance of UnknownType.



72
73
74
# File 'lib/ascii-data-tools/record_type.rb', line 72

def initialize
  super(UNKNOWN_RECORD_TYPE_NAME, Field::Fields.new([Field::Field.new("UNKNOWN")]))
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AsciiDataTools::RecordType::Type