Class: Lutaml::Lml::Instance
- Inherits:
-
Model::Serializable
- Object
- Model::Serializable
- Lutaml::Lml::Instance
- Defined in:
- lib/lutaml/lml/models/instance.rb
Instance Method Summary collapse
Instance Method Details
#each_attribute ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/lutaml/lml/models/instance.rb', line 12 def each_attribute return enum_for(:each_attribute) unless block_given? Array(attributes).each do |attr| yield attr.name, attr.value, Array(attr.instances) end end |