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