Skip to content

Commit 2b59ca7

Browse files
authored
Update documentation for monotonic_time
The `since` argument was removed in 7551cc6 but the documentation still referred to it. The language here was patterned after the comment above `GLOBAL_MONOTONIC_CLOCK`.
1 parent 952f56b commit 2b59ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/concurrent/utility/monotonic_time.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def get_time
4646
#
4747
# Returns the current time a tracked by the application monotonic clock.
4848
#
49-
# @return [Float] The current monotonic time when `since` not given else
50-
# the elapsed monotonic time between `since` and the current time
49+
# @return [Float] The current monotonic time since some unspecified
50+
# starting point
5151
#
5252
# @!macro monotonic_clock_warning
5353
def monotonic_time

0 commit comments

Comments
 (0)