Class: Rtml::Test::SimulatorPostProcessors::Submit
- Inherits:
-
Base
- Object
- Base
- Rtml::Test::SimulatorPostProcessors::Submit
- Defined in:
- lib/rtml/test/simulator_post_processors/submit.rb
Instance Method Summary collapse
Instance Method Details
#check_submit_directive ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/rtml/test/simulator_post_processors/submit.rb', line 5 def check_submit_directive if submit = on_current_screen("submit").first target = submit['tgt'] getvars = ((submit / "getvar") || []).inject({}) do |hash, getvar| hash[variables.literal_value(getvar['name'])] = variables.literal_value(variables[getvar['name']]) hash end parent.post_data variables.literal_value(target), getvars end end |