Sha256: 7cb3a8db3a48bee83dcab0003c3327507737434c4e09489cb44d64c2457821cd
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
class Rtml::Test::SimulatorPostProcessors::Submit < Rtml::Test::SimulatorPostProcessors::Base affects 'Rtml::Test::Simulator', 'simulator' entry_point :check_submit_directive 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtml-2.0.4 | lib/rtml/test/simulator_post_processors/submit.rb |