Class: Omml::Models::STHexColor
- Inherits:
-
Lutaml::Model::Type::Value
- Object
- Lutaml::Model::Type::Value
- Omml::Models::STHexColor
- Includes:
- Registerable
- Defined in:
- lib/omml/models/simple_types/st_hex_color.rb
Class Method Summary collapse
Methods included from Registerable
Class Method Details
.cast(value, options = {}) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/omml/models/simple_types/st_hex_color.rb', line 8 def self.cast(value, = {}) return if value.nil? cast_value(:st_hex_color_auto, value, ) || cast_value(:st_hex_color_rgb, value, ) end |