Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Time/new-c.yaml
--- !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 <tt>Time.new</tt>. Returns a <tt>Time</tt> object initialized tot he current system time.
- !ruby/struct:SM::Flow::P 
  body: Returns a <tt>Time</tt> object initialized to the current system time. <b>Note:</b> 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      #=&gt; Wed Apr 09 08:56:03 CDT 2003\n   b = Time.new      #=&gt; Wed Apr 09 08:56:03 CDT 2003\n   a == b            #=&gt; false\n   &quot;%.6f&quot; % a.to_f   #=&gt; &quot;1049896563.230740&quot;\n   &quot;%.6f&quot; % b.to_f   #=&gt; &quot;1049896563.231466&quot;\n"
full_name: Time::new
is_singleton: true
name: new
params: |
  Time.new -> time

visibility: public