Class: Pushpop::Step::ERBContext
- Inherits:
-
Object
- Object
- Pushpop::Step::ERBContext
- Defined in:
- lib/pushpop/step.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
-
#step_responses ⇒ Object
Returns the value of attribute step_responses.
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(response, step_responses) ⇒ ERBContext
constructor
A new instance of ERBContext.
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
#response ⇒ Object
Returns the value of attribute response.
10 11 12 |
# File 'lib/pushpop/step.rb', line 10 def response @response end |
#step_responses ⇒ Object
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_binding ⇒ Object
18 19 20 |
# File 'lib/pushpop/step.rb', line 18 def get_binding binding end |