aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Gesimondo <john@jmondo.com>2016-07-10 19:04:18 -0700
committerGitHub <noreply@github.com>2016-07-10 19:04:18 -0700
commit39d84608ad815e963400466beb6f33d4cbe0d74d (patch)
tree969b76e9157e99e182d8dd916072ea92c48681a9
parentdb1582ac342be68bf5addd1b770e7dec2abe44d2 (diff)
downloadrails-39d84608ad815e963400466beb6f33d4cbe0d74d.tar.gz
rails-39d84608ad815e963400466beb6f33d4cbe0d74d.tar.bz2
rails-39d84608ad815e963400466beb6f33d4cbe0d74d.zip
Update class_attribute docs
-rw-r--r--activesupport/lib/active_support/core_ext/class/attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/attribute.rb b/activesupport/lib/active_support/core_ext/class/attribute.rb
index 802d988af2..aa0e2a1a88 100644
--- a/activesupport/lib/active_support/core_ext/class/attribute.rb
+++ b/activesupport/lib/active_support/core_ext/class/attribute.rb
@@ -27,7 +27,7 @@ class Class
# This matches normal Ruby method inheritance: think of writing an attribute
# on a subclass as overriding the reader method. However, you need to be aware
# when using +class_attribute+ with mutable structures as +Array+ or +Hash+.
- # In such cases, you don't want to do changes in places but use setters:
+ # In such cases, you don't want to do changes in place. Instead use setters:
#
# Base.setting = []
# Base.setting # => []