Class: GmlDictionaryEntryDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- GmlDictionaryEntryDrop
- Defined in:
- lib/metanorma/plugin/lutaml/liquid_drops/gml_dictionary_entry_drop.rb
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize(dict_entry) ⇒ GmlDictionaryEntryDrop
constructor
rubocop:disable Lint/MissingSuper.
- #name ⇒ Object
Constructor Details
#initialize(dict_entry) ⇒ GmlDictionaryEntryDrop
rubocop:disable Lint/MissingSuper
6 7 8 |
# File 'lib/metanorma/plugin/lutaml/liquid_drops/gml_dictionary_entry_drop.rb', line 6 def initialize(dict_entry) # rubocop:disable Lint/MissingSuper @dict_entry = dict_entry end |
Instance Method Details
#description ⇒ Object
14 15 16 |
# File 'lib/metanorma/plugin/lutaml/liquid_drops/gml_dictionary_entry_drop.rb', line 14 def description @dict_entry.definition.description end |
#name ⇒ Object
10 11 12 |
# File 'lib/metanorma/plugin/lutaml/liquid_drops/gml_dictionary_entry_drop.rb', line 10 def name @dict_entry.definition.name.first.content end |