Class: UseCases::StackRunner
- Inherits:
-
Object
- Object
- UseCases::StackRunner
- Defined in:
- lib/use_cases/stack_runner.rb
Instance Attribute Summary collapse
-
#stack ⇒ Object
readonly
Returns the value of attribute stack.
Instance Method Summary collapse
- #call(*args) ⇒ Object
-
#initialize(stack) ⇒ StackRunner
constructor
A new instance of StackRunner.
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
#stack ⇒ Object (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 |