Module: Onboardable

Defined in:
lib/onboardable.rb,
lib/onboardable/step.rb,
lib/onboardable/errors.rb,
lib/onboardable/version.rb,
lib/onboardable/list/base.rb,
lib/onboardable/list/builder.rb,
lib/onboardable/utils/warnings.rb,
lib/onboardable/list/navigation.rb

Overview

The Onboardable module provides a DSL for defining and navigating onboarding steps.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, List, Utils Classes: ComparisonResultError, EmptyStepsError, Error, FirstStepError, LastStepError, Step, StepConversionError, StepError, StepStatusError, UndefinedMethodError

Constant Summary collapse

VERSION =
'1.3.3'

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ untyped

Initializes the Onboardable module when included in a class, extending it with class and instance methods.

Parameters:

  • klass (Module)

    The class including the Onboardable module

Returns:

  • (untyped)

    The class including the Onboardable module.



17
18
19
20
# File 'lib/onboardable.rb', line 17

def self.included(klass)
  klass.extend ClassMethods
  klass.include InstanceMethods
end