|
How about using #{x} in place of just x
?
> irb(main):085:0>
ie.text_field(:name,
grade_result_list[x].beanCount).set("800") > NameError: undefined local variable
or method `grade_result_list' for #<Object:0x2799258
@x=4>
This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
