start

start(address, port = nil, helo = 'localhost', user = nil, secret = nil, authtype = nil) Class Public methods Creates a new Net::SMTP object and connects to the server. This method is equivalent to: Net::SMTP.new(address, port).start(helo_domain, account, password, authtype) Example Net::SMTP.start('your.smtp.server') do |smtp| smtp.send_message msgstr, 'from@example.com', ['dest@example.com'] end Block Usage If called with a block, the newly-opened Net::SMTP object is yielded

new

new(*args) Class Public methods

recv_nonblock

basicsocket.recv_nonblock(maxlen) => mesgbasicsocket.recv_nonblock(maxlen, flags) => mesg Instance Public methods Receives up to maxlen bytes from socket using recvfrom(2) after O_NONBLOCK is set for the underlying file descriptor. flags is zero or more of the MSG_ options. The result, mesg, is the data received. When recvfrom(2) returns 0, #recv_nonblock returns an empty string as data. The meaning depends on the socket: EOF on TCP, empty packet on UDP, etc. Parameters max

layout_test_with_different_layout_and_string_action

layout_test_with_different_layout_and_string_action() Instance Public methods

each

each(rs = nil) Instance Public methods

cmp

cmp(a, b) Class Public methods Alias for: compare_file

render_template

render_template(event) Instance Public methods Also aliased as: render_partial, render_collection

bindinfo

bindinfo(*args) Class Public methods

recvmsg

basicsocket.recvmsg(maxmesglen=nil, flags=0, maxcontrollen=nil, opts={}) => [mesg, sender_addrinfo, rflags, *controls] Instance Public methods recvmsg receives a message using recvmsg(2) system call in blocking manner. maxmesglen is the maximum length of mesg to receive. flags is bitwise OR of MSG_* constants such as Socket::MSG_PEEK. maxcontrollen is the maximum length of controls (ancillary data) to receive. opts is option hash. Currently :scm_rights=>bool is the only opti

array_attributes

array_attributes() Class Public methods Return the list of all array-oriented instance variables.