mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
making comments sentence more concise
This commit is contained in:
@@ -4,8 +4,8 @@ require 'active_support/core_ext/object/acts_like'
|
||||
|
||||
module ActiveSupport
|
||||
# Provides accurate date and time measurements using Date#advance and
|
||||
# Time#advance, respectively. It mainly supports the methods on Numeric,
|
||||
# such as in this example:
|
||||
# Time#advance, respectively. It mainly supports the methods on Numeric.
|
||||
# Example:
|
||||
#
|
||||
# 1.month.ago # equivalent to Time.now.advance(:months => -1)
|
||||
class Duration < BasicObject
|
||||
|
||||
Reference in New Issue
Block a user