lib/aixm/feature/navigational_aid/designated_point.rb in aixm-1.1.0 vs lib/aixm/feature/navigational_aid/designated_point.rb in aixm-1.2.0
- old
+ new
@@ -39,12 +39,19 @@
# @return [AIXM::Feature::Airport] airport this designated point is
# associated with
belongs_to :airport
- # @return [Symbol] type of designated point
+ # Type of designated point
+ #
+ # @overload type
+ # @return [Symbol] any of {TYPES}
+ # @overload type=(value)
+ # @param value [Symbol] any of {TYPES}
attr_reader :type
+ # See the {cheat sheet}[AIXM::Feature::NavigationalAid::DesignatedPoint]
+ # for examples on how to create instances of this class.
def initialize(type:, **arguments)
super(organisation: nil, z: nil, **arguments)
self.type = type
end