Sha256: d1cea6caa17827a6546e3a6a2d242068606ee25001ed3eafddc5b1177e17885f
Contents?: true
Size: 253 Bytes
Versions: 1
Compression:
Stored size: 253 Bytes
Contents
module Firmapi class Location include Virtus.model attribute :latitude, Float attribute :longitude, Float def ==(other_location) self.latitude == other_location.latitude && self.longitude == other_location.longitude end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
firmapi-0.1.4 | lib/firmapi/location.rb |