set_mark

set_mark(mark, index) Instance Public methods Alias for: mark_set

addch

addch(ch) Class Public methods Add a character ch, with attributes, then advance the cursor. see also the system manual for curs_addch(3)

to_s

to_s(format = :default) Instance Public methods Also aliased as: to_default_s

get_response

get_response(uri_or_host, path = nil, port = nil, &block) Class Public methods Sends a GET request to the target and returns the HTTP response as a Net::HTTPResponse object. The target can either be specified as (uri), or as (host, path, port = 80); so: res = Net::HTTP.get_response(URI('http://www.example.com/index.html')) print res.body or: res = Net::HTTP.get_response('www.example.com', '/index.html') print res.body

encode_www_form_component

encode_www_form_component(str) Class Public methods Encode given str to URL-encoded form data. This method doesn't convert *, -, ., 0-9, A-Z, _, a-z, but does convert SP (ASCII space) to + and converts others to %XX. This is an implementation of www.w3.org/TR/html5/association-of-controls-and-forms.html#url-encoded-form-data See ::decode_www_form_component, ::encode_www_form

register

register(directive, &block) Class Public methods Registers directive as one handled by RDoc. If a block is given the directive will be replaced by the result of the block, otherwise the directive will be removed from the processed text. The block will be called with the directive name and the directive parameter: RDoc::Markup::PreProcess.register 'my-directive' do |directive, param| # replace text, etc. end

inscope

inscope(namespace, script, *args) Class Public methods

delete

hsh.delete(key) â valuehsh.delete(key) {| key | block } â value Instance Public methods Deletes the key-value pair and returns the value from hsh whose key is equal to key. If the key is not found, returns the default value. If the optional code block is given and the key is not found, pass in the key and return the result of block. h = { "a" => 100, "b" => 200 } h.delete("a") #=> 100 h.delete("z")

lastChild

lastChild() Instance Public methods IXMLDOMNode lastChild first child of the node

start_job

start_job(command = nil) Instance Public methods start a job