aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-12-21 09:25:29 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2011-12-21 09:29:59 +0200
commitee69ef62a8edf6adfa4aba33e5d4f61ad55b6a25 (patch)
treeab30f1b36fd056a1c9bd24b23ef1f66a746e87dd /railties
parent8e749cd4bd3d3cefa75636fb9ade1672c3c980d3 (diff)
downloadrails-ee69ef62a8edf6adfa4aba33e5d4f61ad55b6a25.tar.gz
rails-ee69ef62a8edf6adfa4aba33e5d4f61ad55b6a25.tar.bz2
rails-ee69ef62a8edf6adfa4aba33e5d4f61ad55b6a25.zip
Remove some of the ActiveSupport core extensions related to 1.8.
Diffstat (limited to 'railties')
-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+
...