Class: Roast::SystemCogs::Call::Params

Inherits:
Roast::SystemCog::Params show all
Defined in:
lib/roast/system_cogs/call.rb

Overview

Parameters for the call system cog

Instance Attribute Summary collapse

Attributes inherited from Roast::SystemCog::Params

#name

Instance Method Summary collapse

Methods inherited from Roast::SystemCog::Params

#anonymous?

Constructor Details

#initialize(name = nil, run:) ⇒ Params

: (?Symbol?, run: Symbol) -> void



22
23
24
25
# File 'lib/roast/system_cogs/call.rb', line 22

def initialize(name = nil, run:)
  super(name)
  @run = run
end

Instance Attribute Details

#runObject

The name of the execution scope to invoke

: Symbol



19
20
21
# File 'lib/roast/system_cogs/call.rb', line 19

def run
  @run
end