aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-03-09 18:43:55 +0100
committerXavier Noria <fxn@hashref.com>2011-03-09 18:43:55 +0100
commit32b5c4b77a880b8a10c20402477a392f1465d0c9 (patch)
tree980c567c7f72b836b06760716442d6192c52f1c1 /railties/guides
parent532b77077fc97211cb9f8d047116a72b8cd286a7 (diff)
downloadrails-32b5c4b77a880b8a10c20402477a392f1465d0c9.tar.gz
rails-32b5c4b77a880b8a10c20402477a392f1465d0c9.tar.bz2
rails-32b5c4b77a880b8a10c20402477a392f1465d0c9.zip
copy-edits 532b770
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 39a87d9f64..788f528654 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -1818,7 +1818,7 @@ 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 optional parameter to let you specify a precision. Active Support adds that functionality to +round+ in previous versions of Ruby:
+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