aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-20 23:51:21 -0800
committerJosé Valim <jose.valim@gmail.com>2011-12-20 23:51:21 -0800
commitb0011dc74b0f99a31d8f2104cf9224499c28199f (patch)
treeab30f1b36fd056a1c9bd24b23ef1f66a746e87dd /railties/guides
parent8e749cd4bd3d3cefa75636fb9ade1672c3c980d3 (diff)
parentee69ef62a8edf6adfa4aba33e5d4f61ad55b6a25 (diff)
downloadrails-b0011dc74b0f99a31d8f2104cf9224499c28199f.tar.gz
rails-b0011dc74b0f99a31d8f2104cf9224499c28199f.tar.bz2
rails-b0011dc74b0f99a31d8f2104cf9224499c28199f.zip
Merge pull request #4086 from ugisozols/master
Remove some of the ActiveSupport core extensions related to 1.8.
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile12
1 files changed, 0 insertions, 12 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 6646e9cd05..0296e27725 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -1974,18 +1974,6 @@ The method +ordinalize+ returns the ordinal string corresponding to the receiver
NOTE: Defined in +active_support/core_ext/integer/inflections.rb+.
-h3. Extensions to +Float+
-
-h4. +round+
-
-The built-in method +Float#round+ rounds a float to the nearest integer. In Ruby 1.9 this method takes an optional argument to let you specify a precision. Active Support adds that functionality to +round+ in previous versions of Ruby:
-
-<ruby>
-Math::E.round(4) # => 2.7183
-</ruby>
-
-NOTE: Defined in +active_support/core_ext/float/rounding.rb+.
-
h3. Extensions to +BigDecimal+
...