Class: Pushpop::Step::ERBContext

Inherits:
Object
  • Object
show all
Defined in:
lib/pushpop/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, step_responses) ⇒ ERBContext

Returns a new instance of ERBContext.



13
14
15
16
# File 'lib/pushpop/step.rb', line 13

def initialize(response, step_responses)
  self.response = response
  self.step_responses = step_responses
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



10
11
12
# File 'lib/pushpop/step.rb', line 10

def response
  @response
end

#step_responsesObject

Returns the value of attribute step_responses.



11
12
13
# File 'lib/pushpop/step.rb', line 11

def step_responses
  @step_responses
end

Instance Method Details

#get_bindingObject



18
19
20
# File 'lib/pushpop/step.rb', line 18

def get_binding
  binding
end