set_value_type

set_value_type(val) Instance Public methods Also aliased as: value_type=

ago

ago(seconds) Instance Public methods Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) and then subtracts the specified number of seconds.

destroy

destroy() Instance Public methods

rake_system

rake_system(*cmd) Class Public methods Run a command line on windows.

parse_attr

parse_attr(context, single, tk, comment) Instance Public methods Creates an RDoc::Attr for the name following tk, setting the comment to comment.

round

int.round([ndigits]) â integer or float Instance Public methods Rounds flt to a given precision in decimal digits (default 0 digits). Precision may be negative. Returns a floating point number when ndigits is positive, self for zero, and round down for negative. 1.round #=> 1 1.round(2) #=> 1.0 15.round(-1) #=> 20

do_struct_define_without_accessor

do_struct_define_without_accessor() Instance Public methods Scans content for struct_define_without_accessor

to_s

to_s() Instance Public methods Also aliased as: string, to_str

class_variables

mod.class_variables(inherit=true) â array Instance Public methods Returns an array of the names of class variables in mod. This includes the names of class variables in any included modules, unless the inherit parameter is set to false. class One @@var1 = 1 end class Two < One @@var2 = 2 end One.class_variables #=> [:@@var1] Two.class_variables #=> [:@@var2, :@@var1] Two.class_variables(false) #=> [:@@var2]

&lt;=&gt;

stat other_stat â -1, 0, 1, nil Instance Public methods Compares File::Stat objects by comparing their respective modification times. nil is returned if the two values are incomparable. f1 = File.new("f1", "w") sleep 1 f2 = File.new("f2", "w") f1.stat <=> f2.stat #=> -1