Class: Archimate::DataModel::ModelingNote
- Inherits:
-
Object
- Object
- Archimate::DataModel::ModelingNote
- Includes:
- Comparison
- Defined in:
- lib/archimate/data_model/modeling_note.rb
Overview
This is a set of notes to the modeler on how to use and model with this viewpoint. Could contain rules or constraints. The part hold the information for this element.
Instance Attribute Summary collapse
- #documentation ⇒ PreservedLangString readonly
- #type ⇒ String, NilClass readonly
Instance Method Summary collapse
-
#initialize(documentation:, type: nil) ⇒ ModelingNote
constructor
A new instance of ModelingNote.
Methods included from Comparison
#==, #[], #dig, #each, #hash, included, #pretty_print, #to_h
Constructor Details
#initialize(documentation:, type: nil) ⇒ ModelingNote
Returns a new instance of ModelingNote.
18 19 20 21 |
# File 'lib/archimate/data_model/modeling_note.rb', line 18 def initialize(documentation:, type: nil) @documentation = documentation @type = type end |
Instance Attribute Details
#documentation ⇒ PreservedLangString (readonly)
12 |
# File 'lib/archimate/data_model/modeling_note.rb', line 12 model_attr :documentation |
#type ⇒ String, NilClass (readonly)
16 |
# File 'lib/archimate/data_model/modeling_note.rb', line 16 model_attr :type |