proxy_basic_auth

proxy_basic_auth(account, password) Instance Public methods Set Proxy-Authorization: header for âBasicâ authorization.

style

style(*args) Class Public methods

each_line

pathname.each_line {|line| ... }pathname.each_line(sep=$/ [, open_args]) {|line| block } â nilpathname.each_line(limit [, open_args]) {|line| block } â nilpathname.each_line(sep, limit [, open_args]) {|line| block } â nilpathname.each_line(...) â an_enumerator Instance Public methods Iterates over each line in the file and yields a String object for each.

set_delivery_method

set_delivery_method(method) Instance Public methods

cget

cget(slot) Instance Public methods

parse_config

parse_config(io) Class Public methods

random_string

random_string(len) Class Public methods Generates a random string of length len

context

context() Instance Public methods

times

int.times {|i| block } â selfint.times â an_enumerator Instance Public methods Iterates block int times, passing in values from zero to int - 1. If no block is given, an enumerator is returned instead. 5.times do |i| print i, " " end produces: 0 1 2 3 4 each

password_field

password_field(name = "", value = nil, size = 40, maxlength = nil) Instance Public methods Generate a Password Input element as a string. name is the name of the input field. value is its default value. size is the size of the input field display. maxlength is the maximum length of the inputted password. Alternatively, attributes can be specified as a hash. password_field("name") # <INPUT TYPE="password" NAME="name" SIZE="40"> password_field("name", "value") # <INP