Class: UseCases::StackRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/use_cases/stack_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack) ⇒ StackRunner

Returns a new instance of StackRunner.



7
8
9
# File 'lib/use_cases/stack_runner.rb', line 7

def initialize(stack)
  @stack = stack
end

Instance Attribute Details

#stackObject (readonly)

Returns the value of attribute stack.



5
6
7
# File 'lib/use_cases/stack_runner.rb', line 5

def stack
  @stack
end

Instance Method Details

#call(*args) ⇒ Object



11
12
13
# File 'lib/use_cases/stack_runner.rb', line 11

def call(*args)
  do_call(*args)
end