Class: Archimate::DataModel::ConnectorType

Inherits:
Object
  • Object
show all
Includes:
Ruby::Enum
Defined in:
lib/archimate/data_model/connector_type.rb

Overview

An enumeration of the connector types available in Archimate

Examples:

Reference an “And” Junction.

ConnectorType::AndJunction #=> "AndJunction"

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object

Returns true if other is a ConnectorType

Parameters:

  • other (String)


18
19
20
# File 'lib/archimate/data_model/connector_type.rb', line 18

def self.===(other)
  values.include?(other)
end