Class: Lutaml::XMI::ConstraintDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Lutaml::XMI::ConstraintDrop
- Includes:
- Parsers::XMIBase
- Defined in:
- lib/lutaml/xmi/liquid_drops/constraint_drop.rb
Instance Method Summary collapse
-
#initialize(model) ⇒ ConstraintDrop
constructor
rubocop:disable Lint/MissingSuper.
- #name ⇒ Object
- #status ⇒ Object
- #type ⇒ Object
- #weight ⇒ Object
Methods included from Parsers::XMIBase
Constructor Details
#initialize(model) ⇒ ConstraintDrop
rubocop:disable Lint/MissingSuper
8 9 10 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 8 def initialize(model) # rubocop:disable Lint/MissingSuper @model = model end |
Instance Method Details
#name ⇒ Object
12 13 14 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 12 def name HTMLEntities.new.decode(@model.name) end |
#status ⇒ Object
24 25 26 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 24 def status @model.status end |
#type ⇒ Object
16 17 18 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 16 def type @model.type end |
#weight ⇒ Object
20 21 22 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 20 def weight @model.weight end |