aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/array
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-12-05 18:54:41 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-12-05 18:54:41 +0000
commit2af36bbbd4c5a9967e5f3b4263100ef793aee4d7 (patch)
tree5e51f90362bac00dca11de025bdc7a229e4f6f59 /activesupport/lib/active_support/core_ext/array
parentc27b9db39fd1d86448572c06df2bd097debbfe10 (diff)
downloadrails-2af36bbbd4c5a9967e5f3b4263100ef793aee4d7.tar.gz
rails-2af36bbbd4c5a9967e5f3b4263100ef793aee4d7.tar.bz2
rails-2af36bbbd4c5a9967e5f3b4263100ef793aee4d7.zip
Fix typos (closes #10378)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/array')
-rw-r--r--activesupport/lib/active_support/core_ext/array/conversions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb
index 8f72294838..2c84329178 100644
--- a/activesupport/lib/active_support/core_ext/array/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/array/conversions.rb
@@ -4,7 +4,7 @@ module ActiveSupport #:nodoc:
module CoreExtensions #:nodoc:
module Array #:nodoc:
module Conversions
- # Converts the array to comma-seperated sentence where the last element is joined by the connector word. Options:
+ # Converts the array to a comma-separated sentence where the last element is joined by the connector word. Options:
# * <tt>:connector</tt> - The word used to join the last element in arrays with two or more elements (default: "and")
# * <tt>:skip_last_comma</tt> - Set to true to return "a, b and c" instead of "a, b, and c".
def to_sentence(options = {})