2010-10-24 formの入力フィールド名一欄表示方法 ruby form = page.forms.first # => Mechanize::Form form.fields.each { |f| puts f.name }ネタ元 http://mechanize.rubyforge.org/mechanize/Mechanize/Form.html