Class: Omml::Models::UnsignedLong

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

Class Method Summary collapse

Class Method Details

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



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

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

  super(value, options.merge(max: 18_446_744_073_709_551_615, min: 0))
end