async=

async=(arg0) Instance Public methods VOID async flag for asynchronous download

marshal_load

marshal_load(array) Instance Public methods Loads this Constant from array. For a loaded Constant the following methods will return cached values: full_name parent_name

to_time

to_time() Instance Public methods Return a Time object of the date/time which represents self. If the @year is below 1970, this method returns nil, because Time cannot handle years below 1970. The timezone used is GMT.

each_with_index

enum.each_with_index(*args) { |obj, i| block } â enumenum.each_with_index(*args) â an_enumerator Instance Public methods Calls block with two arguments, the item and its index, for each item in enum. Given arguments are passed through to each(). If no block is given, an enumerator is returned instead. hash = Hash.new %w(cat dog wombat).each_with_index { |item, index| hash[item] = index } hash #=> {"cat"=>0, "dog"=>1, "wombat"=>2}

each_with_object

e.with_object(obj) {|(*args), obj| ... }e.with_object(obj) Instance Public methods Iterates the given block for each element with an arbitrary object, obj, and returns obj If no block is given, returns a new Enumerator. Example to_three = Enumerator.new do |y| 3.times do |x| y << x end end to_three_with_string = to_three.with_object("foo") to_three_with_string.each do |x,string| puts "#{string}: #{x}" end # => foo:0 # => foo:1 # => foo:2

status

status() Instance Public methods Returns the status (STAT command).

set_color

set_color(idx, color) Class Public methods

to_options!

to_options!() Instance Public methods

conditional_hello_with_expires_in

conditional_hello_with_expires_in() Instance Public methods

init_tags

init_tags() Instance Public methods Maps attributes to HTML sequences