aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/core_ext/numeric.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/core_ext/numeric.rb')
-rw-r--r--activesupport/lib/core_ext/numeric.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/activesupport/lib/core_ext/numeric.rb b/activesupport/lib/core_ext/numeric.rb
new file mode 100644
index 0000000000..ddc3d21c38
--- /dev/null
+++ b/activesupport/lib/core_ext/numeric.rb
@@ -0,0 +1,8 @@
+$:.unshift(File.dirname(__FILE__))
+require 'numeric/time'
+require 'numeric/bytes'
+
+class Numeric
+ include ActiveSupport::CoreExtensions::Numeric::Time
+ include ActiveSupport::CoreExtensions::Numeric::Bytes
+end