Class: CallCenter::ConditionalStack::Evaluator

Inherits:
Proc
  • Object
show all
Defined in:
lib/call_center/conditional_stack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack) ⇒ Evaluator

Returns a new instance of Evaluator.



46
47
48
49
# File 'lib/call_center/conditional_stack.rb', line 46

def initialize(stack)
  @stack = stack
  super()
end

Instance Attribute Details

#stackObject (readonly)

Returns the value of attribute stack.



44
45
46
# File 'lib/call_center/conditional_stack.rb', line 44

def stack
  @stack
end