Sha256: 1fa8284c67adf4db27372dc6f23ed17222c5818302c5f226f0b8db58470f7bba
Contents?: true
Size: 484 Bytes
Versions: 6
Compression:
Stored size: 484 Bytes
Contents
require 'odata4/properties/geography/base' require 'odata4/properties/geography/point' require 'odata4/properties/geography/line_string' require 'odata4/properties/geography/polygon' OData4::Properties::Geography.constants.each do |property_name| next if property_name =~ /Base$/ klass = OData4::Properties::Geography.const_get(property_name) if klass.is_a?(Class) property = klass.new('test', nil) OData4::PropertyRegistry.add(property.type, property.class) end end
Version data entries
6 entries across 6 versions & 1 rubygems