Class: Trailblazer::Activity::DSL::Linear::Extension

Inherits:
Struct
  • Object
show all
Defined in:
lib/trailblazer/activity/dsl/linear/helper.rb

Overview

Data Structures used in the DSL. They’re mostly created from helpers and then get processed in the normalizer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#callableObject

Returns the value of attribute callable

Returns:

  • (Object)

    the current value of callable



9
10
11
# File 'lib/trailblazer/activity/dsl/linear/helper.rb', line 9

def callable
  @callable
end

Instance Method Details

#call(*args, &block) ⇒ Object



10
11
12
# File 'lib/trailblazer/activity/dsl/linear/helper.rb', line 10

def call(*args, &block)
  callable.(*args, &block)
end