--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: now" - !ruby/struct:SM::Flow::P body: Synonym for Time.new. Returns a Time object initialized tot he current system time. - !ruby/struct:SM::Flow::P body: Returns a Time object initialized to the current system time. Note: The object created will be created using the resolution available on your system clock, and so may include fractional seconds. - !ruby/struct:SM::Flow::VERB body: " a = Time.new #=> Wed Apr 09 08:56:03 CDT 2003\n b = Time.new #=> Wed Apr 09 08:56:03 CDT 2003\n a == b #=> false\n "%.6f" % a.to_f #=> "1049896563.230740"\n "%.6f" % b.to_f #=> "1049896563.231466"\n" full_name: Time::new is_singleton: true name: new params: | Time.new -> time visibility: public