column

column(name, type = nil, options = {}) Instance Public methods

world_3D_coordinates

world_3D_coordinates(*args) Instance Public methods

slice

slice(src, pattern, n = 0) Class Public methods EXPERIMENTAL Parses src and return a string which was matched to pattern. pattern should be described as Regexp. require 'ripper' p Ripper.slice('def m(a) nil end', 'ident') #=> "m" p Ripper.slice('def m(a) nil end', '[ident lparen rparen]+') #=> "m(a)" p Ripper.slice("<<EOS\nstring\nEOS", 'heredoc_beg nl $(tstring_content*) heredoc_end', 1) #=> "string\n"

__invoke

__invoke(*args) Instance Public methods

value

value() Instance Public methods

procedure_element

procedure_element(*idxs) Instance Public methods

time

session.time â Time Instance Public methods Gets start time of the session.

proxy_user

proxy_user() Instance Public methods The proxy username, if one is configured

methodResponse

methodResponse(is_ret, *params) Instance Public methods Generates a XML-RPC methodResponse document When is_ret is false then the params array must contain only one element, which is a structure of a fault return-value. When is_ret is true then a normal return-value of all the given params is created.

call_async

call_async(method, *args) Instance Public methods Similar to #call, however can be called concurrently and use a new connection for each request. In contrast to the corresponding method without the _async suffix, which use connect-alive (one connection for all requests). Note, that you have to use Thread to call these methods concurrently. The following example calls two methods concurrently: Thread.new { p client.call_async("michael.add", 4, 5) } Thread.new { p client.call_as