aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/core_ext/numeric/time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/core_ext/numeric/time.rb')
-rw-r--r--activesupport/lib/core_ext/numeric/time.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/activesupport/lib/core_ext/numeric/time.rb b/activesupport/lib/core_ext/numeric/time.rb
index ac5ecb8b70..43c0425b00 100644
--- a/activesupport/lib/core_ext/numeric/time.rb
+++ b/activesupport/lib/core_ext/numeric/time.rb
@@ -1,6 +1,7 @@
-module ActiveSupport
- module CoreExtensions
- module Numeric
+module ActiveSupport #:nodoc:
+ module CoreExtensions #:nodoc:
+ module Numeric #:nodoc:
+ # Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years
module Time
def minutes
self * 60