Sha256: 93f2e9a5efda39ad825fd2e8dd246372d7d9e3451fd37b2f4a64fc8a27a90043

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 Bytes

Contents

module AIPP
  module NOTAM

    class Runner < AIPP::Runner

      def effective_at
        AIPP.options.effective_at
      end

      def expiration_at
        effective_at.end_of_day.round - 1
      end

      def run
        info("NOTAM effective #{effective_at}", color: :green)
        read_config
        read_region
        read_parsers
        parse_sections
        validate_aixm
        write_aixm(AIPP.options.output_file || output_file)
        write_config
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aipp-2.0.3 lib/aipp/notam/runner.rb
aipp-2.0.2 lib/aipp/notam/runner.rb
aipp-2.0.1 lib/aipp/notam/runner.rb
aipp-2.0.0 lib/aipp/notam/runner.rb