Class: Archimate::DataModel::ElementType

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

Overview

Enumeration class that defines the strings used for all Archimate element types.

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object

Case equality operator. Used to determine if a value is a member of this enum

Parameters:

  • other (String)

    string to test for enum membership.



84
85
86
# File 'lib/archimate/data_model/element_type.rb', line 84

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