Class: AIPP::AIP::Runner
Instance Attribute Summary
Attributes inherited from Runner
Instance Method Summary collapse
Methods inherited from Runner
#builds_dir, #config_file, #initialize, #inspect, #output_file, #region_dir, #sources_file
Methods included from Debugger
#info, #original_warn, #verbose_info, #warn, #with_debugger
Constructor Details
This class inherits a constructor from AIPP::Runner
Instance Method Details
#effective_at ⇒ Object
6 7 8 |
# File 'lib/aipp/scopes/aip/runner.rb', line 6 def effective_at AIPP..airac.effective.begin end |
#expiration_at ⇒ Object
10 11 12 |
# File 'lib/aipp/scopes/aip/runner.rb', line 10 def expiration_at AIPP..airac.effective.end end |
#run ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/aipp/scopes/aip/runner.rb', line 14 def run info("AIP AIRAC #{AIPP..airac.id} effective #{effective_at}", color: :green) read_config read_region read_parsers parse_sections if aixm.features.any? validate_aixm write_build end write_aixm(AIPP..output_file || output_file) write_config end |