Class: Lutaml::Xmi::LiquidDrops::ConstraintDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Lutaml::Xmi::LiquidDrops::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
9 10 11 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 9 def initialize(model) # rubocop:disable Lint/MissingSuper @model = model end |
Instance Method Details
#name ⇒ Object
13 14 15 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 13 def name HTMLEntities.new.decode(@model.name) end |
#status ⇒ Object
25 26 27 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 25 def status @model.status end |
#type ⇒ Object
17 18 19 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 17 def type @model.type end |
#weight ⇒ Object
21 22 23 |
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 21 def weight @model.weight end |