lib/aixm/component/geometry.rb in aixm-0.3.3 vs lib/aixm/component/geometry.rb in aixm-0.3.4
- old
+ new
@@ -31,9 +31,13 @@
# @see https://github.com/openflightmaps/ofmx/wiki/Airspace#avx-border-vertex
class Geometry
include Enumerable
extend Forwardable
+ # @!method each
+ # @return [Enumerator] see Array#each
+ # @!method <<
+ # @return [Array] see Array#<<
def_delegators :@result_array, :each, :<<
def initialize(*segments)
@result_array = segments
end