summaryrefslogtreecommitdiff
path: root/timev.rb
blob: 8f20d6673f1d4ba3c92eaac914b7826fad2743c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# call-seq:
#    Time.now -> time
#
# Creates a new Time object for the current time.
# This is same as Time.new without arguments.
#
#    Time.now            #=> 2009-06-24 12:39:54 +0900
def Time.now(in: nil)
  __builtin.time_s_now(__builtin.arg!(:in))
end