class EA::AreaLookup::Coordinates
Attributes
easting[RW]
northing[RW]
x[RW]
y[RW]
Public Class Methods
new(easting:, northing:)
click to toggle source
# File lib/ea/area_lookup/coordinates.rb, line 8 def initialize(easting:, northing:) @easting = easting @northing = northing end
Public Instance Methods
valid?()
click to toggle source
# File lib/ea/area_lookup/coordinates.rb, line 13 def valid? easting && northing end