Class: Omml::Models::UnsignedInt
- Inherits:
-
Lutaml::Model::Type::Integer
- Object
- Lutaml::Model::Type::Integer
- Omml::Models::UnsignedInt
- Defined in:
- lib/omml/models/simple_types/unsigned_int.rb
Class Method Summary collapse
Class Method Details
.cast(value, options = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/omml/models/simple_types/unsigned_int.rb', line 6 def self.cast(value, = {}) return if value.nil? super(value, .merge(max: 4_294_967_295, min: 0)) end |