Class: Lutaml::XMI::EnumOwnedLiteralDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Lutaml::XMI::EnumOwnedLiteralDrop
- Defined in:
- lib/lutaml/xmi/liquid_drops/enum_owned_literal_drop.rb
Instance Method Summary collapse
- #definition ⇒ Object
-
#initialize(model) ⇒ EnumOwnedLiteralDrop
constructor
rubocop:disable Lint/MissingSuper.
- #name ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(model) ⇒ EnumOwnedLiteralDrop
rubocop:disable Lint/MissingSuper
6 7 8 |
# File 'lib/lutaml/xmi/liquid_drops/enum_owned_literal_drop.rb', line 6 def initialize(model) # rubocop:disable Lint/MissingSuper @model = model end |
Instance Method Details
#definition ⇒ Object
18 19 20 |
# File 'lib/lutaml/xmi/liquid_drops/enum_owned_literal_drop.rb', line 18 def definition @model[:definition] end |
#name ⇒ Object
10 11 12 |
# File 'lib/lutaml/xmi/liquid_drops/enum_owned_literal_drop.rb', line 10 def name @model[:name] end |
#type ⇒ Object
14 15 16 |
# File 'lib/lutaml/xmi/liquid_drops/enum_owned_literal_drop.rb', line 14 def type @model[:type] end |