Sha256: b83c6846fd0c77e3db5289b688672025c024d407a4403fec50647f6c519b9d39
Contents?: true
Size: 515 Bytes
Versions: 9
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module OGR module DriverMixins # Helper methods for testing capabilities of the current driver. module CapabilityMethods # @return [Boolean] +true+ if this driver supports creating data sources. def can_create_data_source? test_capability('CreateDataSource') end # @return [Boolean] +true+ if this driver supports deleting data sources. def can_delete_data_source? test_capability('DataDataSource') end end end end
Version data entries
9 entries across 9 versions & 1 rubygems