Class: FideXmlParser::FideProcessor
- Inherits:
-
Processor
- Object
- Nokogiri::XML::SAX::Document
- Processor
- FideXmlParser::FideProcessor
- Defined in:
- lib/fide_xml_parser/fide_processor.rb
Constant Summary collapse
- NUMERIC_FIELDS =
%w[ k blitz_k rapid_k rating blitz_rating rapid_rating games blitz_games rapid_games ].map(&:freeze)
Constants inherited from Processor
Processor::ANSI_GO_TO_LINE_START
Instance Attribute Summary
Attributes inherited from Processor
#array_name, #current_property_name, #field_name_renames, #input_record_count, #key_filter, #numeric_fields, #output_record_count, #record, #record_filter, #record_name, #records, #start_time
Instance Method Summary collapse
-
#initialize ⇒ FideProcessor
constructor
A new instance of FideProcessor.
Methods inherited from Processor
#characters, #current_time, #end_element, #finish, #output_status, #parse, #start_element
Constructor Details
#initialize ⇒ FideProcessor
Returns a new instance of FideProcessor.
19 20 21 |
# File 'lib/fide_xml_parser/fide_processor.rb', line 19 def initialize super('playerslist', 'player', NUMERIC_FIELDS) end |