aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorOemuer Oezkir <oemuer.oezkir@gmail.com>2011-07-24 10:21:42 +0000
committerOemuer Oezkir <oemuer.oezkir@gmail.com>2011-07-24 10:21:42 +0000
commit71d18ce48ebcb6b3380309a225af12aba2aeb8ed (patch)
treec4d3414b9db81ebe31178b0355a41b5f5dd9f031 /activesupport/lib/active_support
parent9b9cf92768614eb7dedd190e898b0062c083d8bf (diff)
downloadrails-71d18ce48ebcb6b3380309a225af12aba2aeb8ed.tar.gz
rails-71d18ce48ebcb6b3380309a225af12aba2aeb8ed.tar.bz2
rails-71d18ce48ebcb6b3380309a225af12aba2aeb8ed.zip
Changed a few instances of of words in the API docs written in British English to
American English(according to Weber)
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/string/multibyte.rb2
-rw-r--r--activesupport/lib/active_support/deprecation/behaviors.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/multibyte.rb b/activesupport/lib/active_support/core_ext/string/multibyte.rb
index 41de4d6435..aae1cfccf2 100644
--- a/activesupport/lib/active_support/core_ext/string/multibyte.rb
+++ b/activesupport/lib/active_support/core_ext/string/multibyte.rb
@@ -35,7 +35,7 @@ class String
# object. Interoperability problems can be resolved easily with a +to_s+ call.
#
# For more information about the methods defined on the Chars proxy see ActiveSupport::Multibyte::Chars. For
- # information about how to change the default Multibyte behaviour see ActiveSupport::Multibyte.
+ # information about how to change the default Multibyte behavior see ActiveSupport::Multibyte.
def mb_chars
if ActiveSupport::Multibyte.proxy_class.consumes?(self)
ActiveSupport::Multibyte.proxy_class.new(self)
diff --git a/activesupport/lib/active_support/deprecation/behaviors.rb b/activesupport/lib/active_support/deprecation/behaviors.rb
index da4af339fc..f9505a247c 100644
--- a/activesupport/lib/active_support/deprecation/behaviors.rb
+++ b/activesupport/lib/active_support/deprecation/behaviors.rb
@@ -7,12 +7,12 @@ module ActiveSupport
# Whether to print a backtrace along with the warning.
attr_accessor :debug
- # Returns the set behaviour or if one isn't set, defaults to +:stderr+
+ # Returns the set behavior or if one isn't set, defaults to +:stderr+
def behavior
@behavior ||= [DEFAULT_BEHAVIORS[:stderr]]
end
- # Sets the behaviour to the specified value. Can be a single value or an array.
+ # Sets the behavior to the specified value. Can be a single value or an array.
#
# Examples
#