Class: Omml::Models::STCoordinate

Inherits:
Lutaml::Model::Type::Decimal
  • Object
show all
Defined in:
lib/omml/models/simple_types/st_coordinate.rb

Class Method Summary collapse

Class Method Details

.cast(value, options = {}) ⇒ Object



6
7
8
9
10
11
# File 'lib/omml/models/simple_types/st_coordinate.rb', line 6

def self.cast(value, options = {})
  return if value.nil?

  super(value, options.merge(max: 27_273_042_316_900,
                             min: -27_273_042_329_600))
end