Class: Omml::Models::HexBinary
- Inherits:
-
Lutaml::Model::Type::String
- Object
- Lutaml::Model::Type::String
- Omml::Models::HexBinary
- Defined in:
- lib/omml/models/simple_types/hex_binary.rb
Class Method Summary collapse
Class Method Details
.cast(value, options = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/omml/models/simple_types/hex_binary.rb', line 6 def self.cast(value, = {}) return if value.nil? super(value, .merge(pattern: /(?-mix:([0-9a-fA-F]{2})*)/)) end |