id

id() Instance Public methods

contentbox

contentbox() Instance Public methods

tag

tag(name, options = nil, open = false, escape = true) Instance Public methods Returns an empty HTML tag of type name which by default is XHTML compliant. Set open to true to create an open tag compatible with HTML 4.0 and below. Add HTML attributes by passing an attributes hash to options. Set escape to false to disable attribute value escaping. Options You can use symbols or strings for the attribute names. Use true with boolean attributes that can render with no value, like disab

deep_merge

deep_merge(other_hash, &block) Instance Public methods Returns a new hash with self and other_hash merged recursively. h1 = { a: true, b: { c: [1, 2, 3] } } h2 = { a: false, b: { x: [3, 4, 5] } } h1.deep_merge(h2) #=> { a: false, b: { c: [1, 2, 3], x: [3, 4, 5] } } Like with Hash#merge in the standard library, a block can be provided to merge values: h1 = { a: 100, b: 200, c: { c1: 100 } } h2 = { b: 250, c: { c1: 200 } } h1.deep_merge(h2) { |key, this_val, other_val| this_

actual 2

actual(option=nil) Instance Public methods

ole_type

WIN32OLE#ole_type Instance Public methods Returns WIN32OLE_TYPE object. excel = WIN32OLE.new('Excel.Application') tobj = excel.ole_type ole_obj_help

linger

Socket::Option.linger(onoff, secs) => sockopt Class Public methods Creates a new Socket::Option object for SOL_SOCKET/SO_LINGER. onoff should be an integer or a boolean. secs should be the number of seconds. p Socket::Option.linger(true, 10) #=> #<Socket::Option: UNSPEC SOCKET LINGER on 10sec>

increment

increment(name, amount = 1, options = nil) Instance Public methods Increments an already existing integer value that is stored in the cache. If the key is not found nothing is done.

selectNodes

selectNodes(arg0) Instance Public methods IXMLDOMNodeList selectNodes execute query on the subtree BSTR arg0 --- queryString [IN]

getresource

getresource(name, typeclass) Instance Public methods Look up the typeclass DNS resource of name. name must be a Resolv::DNS::Name or a String. typeclass should be one of the following: Resolv::DNS::Resource::IN::A Resolv::DNS::Resource::IN::AAAA Resolv::DNS::Resource::IN::ANY Resolv::DNS::Resource::IN::CNAME Resolv::DNS::Resource::IN::HINFO Resolv::DNS::Resource::IN::MINFO Resolv::DNS::Resource::IN::MX Resolv::DNS::Resource::IN::NS Resolv::DNS::Resource::IN::PTR