Class: Archimate::DataModel::Viewpoints
- Inherits:
-
Object
- Object
- Archimate::DataModel::Viewpoints
- Includes:
- Ruby::Enum
- Defined in:
- lib/archimate/data_model/viewpoints.rb
Overview
This module contains an enumeration of built-in ArchiMate viewpoint types. These viewpoints are a summary of the viewpoint types defined in ArchiMate versions 2 and 3.
Constant Summary collapse
- VIEWPOINT_CONTENT_ENUM =
%w[Details Coherence Overview].freeze
- VIEWPOINT_PURPOSE_ENUM =
%w[Designing Deciding Informing].freeze
Class Method Summary collapse
Class Method Details
.[](idx) ⇒ Object
403 404 405 |
# File 'lib/archimate/data_model/viewpoints.rb', line 403 def self.[](idx) values[idx] end |
.with_name(name) ⇒ Object
407 408 409 |
# File 'lib/archimate/data_model/viewpoints.rb', line 407 def self.with_name(name) values.find { |vp| vp.name == name } end |