Sha256: d8a17f0db3d4fed7b006a329e6ff722da527d9a37ba82ef80ff36d5723d0a2db

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

require "ogr/data_source"

module OGR
  class DataSource
    module Extensions
      # @return [Array<OGR::Layer>]
      def layers
        @layers = Array.new(layer_count) { |i| layer(i) }
      end
    end
  end
end

OGR::DataSource.include(OGR::DataSource::Extensions)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffi-gdal-1.1.0 lib/ogr/extensions/data_source/data_source_extensions.rb
ffi-gdal-1.0.4 lib/ogr/extensions/data_source/data_source_extensions.rb
ffi-gdal-1.0.3 lib/ogr/extensions/data_source/data_source_extensions.rb