Sha256: 71b02b8b93152b6a3f754e6218e6ac70155e73d8fcded804a9deda86dd8767c2

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

module NationalGrid
  class LatitudeLongitude
    include Inspect
    include Round

    def to_a
      [latitude, longitude, elevation]
    end

    private

    def inspect_attributes
      "latitude=%.6f longitude=%.6f elevation=%.3f" % to_a
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
national_grid-0.2.0 lib/national_grid/latitude_longitude.rb