Sha256: 6a8cfa36f40d570037c0d9bd73c0369e61bd0fa259340a6f8b81181f8d7bd08e
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
using AIXM::Refinements module AIXM # Shortcut initializers CLASSES.each do |element, class_name| define_singleton_method(element) do |*args, **kwargs| class_name.to_class.new(*args, **kwargs) end end # Ground level GROUND = z(0, :qfe).freeze # Max flight level used to signal "no upper limit" UNLIMITED = z(999, :qne).freeze # Timetable used to signal "always active" H24 = timetable(code: :H24).freeze # Day to signal "whatever date or day" ANY_DAY = AIXM.day(:any).freeze end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aixm-1.3.0 | lib/aixm/shortcuts.rb |
aixm-1.2.1 | lib/aixm/shortcuts.rb |
aixm-1.2.0 | lib/aixm/shortcuts.rb |