class WWW::Mechanize::List
def with
form.fields.with.name('foo').and.href('bar.html')
like this:
This method provides syntax sugar so that you can write expressions
def with if !@@notified $stderr.puts("This method is deprecated and will be removed in version 0.9.0. Please use: *_with(:#{meth_sym} => #{args.first ? args.first.inspect : 'nil'})") @@notified = true end self end