Method: AIXM::Feature::Airspace#initialize
- Defined in:
- lib/aixm/feature/airspace.rb
#initialize(source: nil, region: nil, id: nil, type:, local_type: nil, name: nil) ⇒ Airspace
See the cheat sheet for examples on how to create instances of this class.
157 158 159 160 161 162 |
# File 'lib/aixm/feature/airspace.rb', line 157 def initialize(source: nil, region: nil, id: nil, type:, local_type: nil, name: nil) super(source: source, region: region) self.type, self.local_type, self.name = type, local_type, name self.id = id self.geometry = AIXM.geometry end |