Class: Lutaml::XMI::ConstraintDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Lutaml::XMI::ConstraintDrop
show all
- Includes:
- Parsers::XMIBase
- Defined in:
- lib/lutaml/xmi/liquid_drops/constraint_drop.rb
Instance Method Summary
collapse
#get_guidance, included, #set_xmi_model
Constructor Details
rubocop:disable Lint/MissingSuper
8
9
10
|
# File 'lib/lutaml/xmi/liquid_drops/constraint_drop.rb', line 8
def initialize(model) @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
|