Class: StateGate::Builder

Inherits:
Object
  • Object
show all
Includes:
ConflictDetectionMethods, DynamicModuleCreationMethods, ScopeMethods, StateMethods, TransitionMethods, TransitionValidationMethods
Defined in:
lib/state_gate/builder.rb,
lib/state_gate/builder/scope_methods.rb,
lib/state_gate/builder/state_methods.rb,
lib/state_gate/builder/transition_methods.rb,
lib/state_gate/builder/conflict_detection_methods.rb,
lib/state_gate/builder/transition_validation_methods.rb,
lib/state_gate/builder/dynamic_module_creation_methods.rb

Overview

Description

Responsible for generating the state gate engine, along with the Class and Instance helper methods for the submitted Klass. Everything is generated from #initialize when a new instance is created.

Both Class and Instance methods are generated for:

  • state interaction

  • state sequences

  • state scopes

  • transition interaction

  • transition validation

Defined Under Namespace

Modules: ConflictDetectionMethods, DynamicModuleCreationMethods, ScopeMethods, StateMethods, TransitionMethods, TransitionValidationMethods