summaryrefslogtreecommitdiff
path: root/timev.rb
diff options
context:
space:
mode:
Diffstat (limited to 'timev.rb')
-rw-r--r--timev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/timev.rb b/timev.rb
index b73d8c8cc0..4d4204115d 100644
--- a/timev.rb
+++ b/timev.rb
@@ -267,7 +267,7 @@ class Time
# :include: doc/time/nsec.rdoc
# :include: doc/time/in.rdoc
#
- def self.at(time, subsec = nil, unit = :microsecond, in: nil)
+ def self.at(time, subsec = false, unit = :microsecond, in: nil)
__builtin.time_s_at(time, subsec, unit, __builtin.arg!(:in))
end