visible?

WIN32OLE_VARIABLE#visible? Instance Public methods Returns true if the variable is public. tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'XlSheetType') variables = tobj.variables variables.each do |variable| puts "#{variable.name} #{variable.visible?}" end The result of above script is following: xlChart true xlDialogSheet true xlExcel4IntlMacroSheet true xlExcel4MacroSheet true xlWorksheet true

urlsafe_base64

urlsafe_base64(n=nil, padding=false) Class Public methods ::urlsafe_base64 generates a random URL-safe base64 string. The argument n specifies the length of the random length. The length of the result string is about 4/3 of n. If n is not specified, 16 is assumed. It may be larger in future. The boolean argument padding specifies the padding. If it is false or nil, padding is not generated. Otherwise padding is generated. By default, padding is not generated because â=â may be used

new

new(p1) Class Public methods

get

get(*index) Instance Public methods

new

WIN32OLE_TYPELIB.new(typelib [, version1, version2]) â WIN32OLE_TYPELIB object Class Public methods Returns a new WIN32OLE_TYPELIB object. The first argument typelib specifies OLE type library name or GUID or OLE library file. The second argument is major version or version of the type library. The third argument is minor version. The second argument and third argument are optional. If the first argument is type library name, then the second and third argument are ignored. tlib1

resolver

resolver(*uri_args) Instance Public methods

new

new( source = nil, context = {} ) Class Public methods Constructor @param source if supplied, must be a Document, String, or IO. Documents have their context and Element attributes cloned. Strings are expected to be valid XML documents. IOs are expected to be sources of valid XML documents. @param context if supplied, contains the context of the document; this should be a Hash.

[]

[](x) Instance Public methods

check_until

check_until(pattern) Instance Public methods This returns the value that scan_until would return, without advancing the scan pointer. The match register is affected, though. s = StringScanner.new("Fri Dec 12 1975 14:39") s.check_until /12/ # -> "Fri Dec 12" s.pos # -> 0 s.matched # -> 12 Mnemonic: it âchecksâ to see whether a scan_until will return a value.

build

build(args) Class Public methods Description Create a new URI::HTTP object from components, with syntax checking. The components accepted are userinfo, host, port, path, query and fragment. The components should be provided either as an Array, or as a Hash with keys formed by preceding the component names with a colon. If an Array is used, the components must be passed in the order [userinfo, host, port, path, query, fragment]. Example: newuri = URI::HTTP.build({:host => 'www.ex