Class: Omml::Models::STLang
- Inherits:
-
Lutaml::Model::Type::Value
- Object
- Lutaml::Model::Type::Value
- Omml::Models::STLang
- Defined in:
- lib/omml/models/simple_types/st_lang.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_lang.rb', line 6 def self.cast(value, = {}) return if value.nil? cast_value(:st_lang_code, value, ) || cast_value(:st_string, value, ) end |