module Silva::System::OsEn
Constants
- EASTING_RANGE
Allowed range of eastings
- NORTHING_RANGE
Allowed range of northings
- REQUIRED_PARAMS
Attributes
easting[R]
northing[R]
Private Instance Methods
validate_easting(e)
click to toggle source
# File lib/silva/system/osen.rb, line 19 def validate_easting(e) e.is_a?(Numeric) && EASTING_RANGE.cover?(e) end
validate_northing(n)
click to toggle source
# File lib/silva/system/osen.rb, line 23 def validate_northing(n) n.is_a?(Numeric) && NORTHING_RANGE.cover?(n) end