Results for: "Array.new"

returns array of WIN32OLE_PARAM object corresponding with method parameters.

tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbook')
method = WIN32OLE_METHOD.new(tobj, 'SaveAs')
p method.params # => [Filename, FileFormat, Password, WriteResPassword,
                      ReadOnlyRecommended, CreateBackup, AccessMode,
                      ConflictResolution, AddToMru, TextCodepage,
                      TextVisualLayout]

Changes the parameters of the deflate stream to allow changes between different types of data that require different types of compression. Any unprocessed data is flushed before changing the params.

See Zlib::Deflate.new for a description of level and strategy.

Called by the TupleSpace to check if the object is still alive.

Reset the expiry time according to sec_or_renewer.

nil

it is set to expire in the far future.

true

it has expired.

Numeric

it will expire in that many seconds.

Otherwise the argument refers to some kind of renewer object which will reset its expiry time.

Returns true if URI is hierarchical.

Description

URI has components listed in order of decreasing significance from left to right, see RFC3986 tools.ietf.org/html/rfc3986 1.2.3.

Usage

require 'uri'

uri = URI.parse("http://my.example.com/")
uri.hierarchical?
#=> true
uri = URI.parse("mailto:joe@example.com")
uri.hierarchical?
#=> false

Checks if URI has a path. For URI::LDAP this will return false.

Returns URL-unescaped string following RFC 3986.

URL-decode a string following RFC 3986 with encoding(optional).

string = CGI.unescapeURIComponent("%27Stop%21%27+said%20Fred")
   # => "'Stop!'+said Fred"

Set all the parameters.

Create a new BlockParameterNode node

Create a new BlockParametersNode node

Create a new ClassVariableOperatorWriteNode node

Create a new ClassVariableTargetNode node

Create a new ClassVariableWriteNode node

Create a new ForwardingArgumentsNode node

Create a new GlobalVariableOperatorWriteNode node

Create a new GlobalVariableTargetNode node

Create a new GlobalVariableWriteNode node

Create a new InstanceVariableOperatorWriteNode node

Create a new InstanceVariableTargetNode node

Create a new InstanceVariableWriteNode node

Create a new KeywordRestParameterNode node

Create a new LocalVariableOperatorWriteNode node

Create a new LocalVariableTargetNode node

Create a new LocalVariableWriteNode node

Search took: 5ms  ·  Total Results: 3047