action_methods

action_methods() Instance Public methods

token_getend

token_getend(idx) Instance Public methods Alias for: token_get_end

each

each(ubound = nil, generator = EratosthenesGenerator.new, &block) Instance Public methods Iterates the given block over all prime numbers. Parameters ubound Optional. An arbitrary positive number. The upper bound of enumeration. The method enumerates prime numbers infinitely if ubound is nil. generator Optional. An implementation of pseudo-prime generator. Return value An evaluated value of the given block at the last time. Or an enumerator which is compatible to an En

set_variable

set_variable(var) Instance Public methods Also aliased as: variable=

new_session

new_session() Instance Public methods create a new session. If a block is given, the new session will be yielded to the block before being returned.

crc32

Zlib.crc32(string, crc) Class Public methods Calculates CRC checksum for string, and returns updated value of crc. If string is omitted, it returns the CRC initial value. If crc is omitted, it assumes that the initial value is given to crc. FIXME: expression.

new

new(*args) Class Public methods

[]

[]( reference, ns=nil ) Instance Public methods

workspaces

workspaces() Instance Public methods WorkSpaces in the current stack

auth_only

auth_only(address, port = nil, account = nil, password = nil, isapop = false) Class Public methods Opens a POP3 session, attempts authentication, and quits. This method raises POPAuthenticationError if authentication fails. Example: normal POP3 Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword') Example: APOP Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword', true)