length

length() Instance Public methods I4 length number of nodes in the collection

localtime

time.localtime â timetime.localtime(utc_offset) â time Instance Public methods Converts time to local time (using the local time zone in effect for this process) modifying the receiver. If utc_offset is given, it is used instead of the local time. t = Time.utc(2000, "jan", 1, 20, 15, 1) #=> 2000-01-01 20:15:01 UTC t.utc? #=> true t.localtime #=> 2000-01-01 14:15:01 -0600 t.utc?

rfc2822

rfc2822() Instance Public methods Returns a string of the object's date and time in the RFC 2822 standard format. Time.zone.now.rfc2822 # => "Tue, 01 Jan 2013 04:51:39 +0000" rfc822

parse

parse(text) Class Public methods Parses TomDoc from text text A String containing TomDoc-format text. Examples RDoc::TomDoc.parse <<-TOMDOC This method does some things Returns nothing. TOMDOC # => #<RDoc::Markup::Document:0xXXX @parts=[...], @file=nil> Returns Returns an RDoc::Markup::Document representing the TomDoc format.

rfc2822

rfc2822(date) Class Public methods Parses date as date-time defined by RFC 2822 and converts it to a Time object. The format is identical to the date format defined by RFC 822 and updated by RFC 1123. ArgumentError is raised if date is not compliant with RFC 2822 or if the Time class cannot represent specified date. See rfc2822 for more information on this format. You must require 'time' to use this method. rfc822

new

new(parent, keys=nil) Class Public methods

transformNodeToObject

transformNodeToObject(arg0, arg1) Instance Public methods VOID transformNodeToObject apply the stylesheet to the subtree, returning the result through a document or a stream IXMLDOMNode arg0 --- stylesheet [IN] VARIANT arg1 --- outputObject [IN]

try

try(*a, &b) Instance Public methods Invokes the public method whose name goes as first argument just like public_send does, except that if the receiver does not respond to it the call returns nil rather than raising an exception. This method is defined to be able to write @person.try(:name) instead of @person ? @person.name : nil try returns nil when called on nil regardless of whether it responds to the method: nil.try(:to_i) # => nil, rather than 0 Arguments and blocks

insertData

insertData(arg0, arg1) Instance Public methods VOID insertData insert string into value I4 arg0 --- offset [IN] BSTR arg1 --- data [IN]

insert

insert(index, *args) Instance Public methods