now

now() Class Public methods Alias for ::new. Returns a Time object initialized to the current system time.

cget_tkstring

cget_tkstring(option) Instance Public methods

pos_gravity=

pos_gravity=(side) Instance Public methods

binary_request

binary_request(service, topic, item) Instance Public methods

accept_heading

accept_heading(heading) Instance Public methods Makes heading text bold.

all_week

all_week(start_day = Date.beginning_of_week) Instance Public methods Returns a Range representing the whole week of the current date/time. Week starts on start_day, default is Date.week_start or config.week_start when set.

days_since

days_since(days) Instance Public methods Returns a new date/time the specified number of days in the future.

close_read

ios.close_read â nil Instance Public methods Closes the read end of a duplex I/O stream (i.e., one that contains both a read and a write stream, such as a pipe). Will raise an IOError if the stream is not duplexed. f = IO.popen("/bin/sh","r+") f.close_read f.readlines produces: prog.rb:3:in `readlines': not opened for reading (IOError) from prog.rb:3

xmlschema 2

xmlschema(fraction_digits=0) Instance Public methods Returns a string which represents the time as a dateTime defined by XML Schema: CCYY-MM-DDThh:mm:ssTZD CCYY-MM-DDThh:mm:ss.sssTZD where TZD is Z or [+-]hh:mm. If self is a UTC time, Z is used as TZD. [+-]hh:mm is used otherwise. fractional_digits specifies a number of digits to use for fractional seconds. Its default value is 0. You must require 'time' to use this method. iso8601

set_no_event_wait 2

set_no_event_wait(*args) Instance Public methods