Module: SuperInstance::Equipment::ConsensusEngine::DomainType

Defined in:
lib/equipment/consensus_engine/types.rb

Overview

Types of domains that affect perspective weighting

Constant Summary collapse

FACTUAL =
:factual
EMOTIONAL =
:emotional
SENSITIVE =
:sensitive
CREATIVE =
:creative
BALANCED =
:balanced
TECHNICAL =
:technical
SOCIAL =
:social
BUSINESS =
:business
PERSONAL =
:personal
MARITIME =
:maritime
ALL =
Set[
  :factual, :emotional, :sensitive, :creative, :balanced,
  :technical, :social, :business, :personal, :maritime
].freeze

Class Method Summary collapse

Class Method Details

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/equipment/consensus_engine/types.rb', line 44

def self.valid?(value)
  ALL.include?(value)
end