Method: AIXM::Feature::NavigationalAid::VOR#associate_dme
- Defined in:
- lib/aixm/feature/navigational_aid/vor.rb
#associate_dme ⇒ AIXM::Feature::NavigationalAid::DME
Build a DME associated to this VOR (which turns it into a VOR/DME)
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/aixm/feature/navigational_aid/vor.rb', line 114 %i(dme tacan).each do |secondary| define_method("associate_#{secondary}") do send("#{secondary}=", AIXM.send(secondary, region: region, source: source, organisation: organisation, id: id, name: name, xy: xy, z: z, ghost_f: f ).tap do || . = .remarks = remarks end ) end end |