Sha256: 5979abba90c41e7f5cd7b20a640e35327926beff050f8be5e8fedc37d2bfc5d9
Contents?: true
Size: 1016 Bytes
Versions: 11
Compression:
Stored size: 1016 Bytes
Contents
module Parliament module Grom module Decorator # Decorator namespace for Grom::Node instances with type: http://id.ukpds.org/schema/ConstituencyArea module ConstituencyArea # Alias constituencyAreaLatitude with fallback. # # @return [String, String] the latitude of the Grom::Node or an empty string. def latitude respond_to?(:constituencyAreaLatitude) ? constituencyAreaLatitude : '' end # Alias constituencyAreaLongitude with fallback. # # @return [String, String] the longitude of the Grom::Node or an empty string. def longitude respond_to?(:constituencyAreaLongitude) ? constituencyAreaLongitude : '' end # Alias constituencyAreaExtent with fallback. # # @return [String, String] the polygon of the Grom::Node or an empty string. def polygon respond_to?(:constituencyAreaExtent) ? constituencyAreaExtent : '' end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems