aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@gmail.com>2016-06-03 10:21:49 -0400
committerEileen M. Uchitelle <eileencodes@gmail.com>2016-06-03 10:21:49 -0400
commit755f6bf3d3d568bc0af2c636be2f6df16c651eb1 (patch)
tree30c0b85c818a6da3acc830245e52758de0341137 /activesupport
parent4e85538dddf47877cacc65cea6c050e349af0405 (diff)
parentf7b850ec9f6036802339e965c8ce74494f731b4a (diff)
downloadrails-755f6bf3d3d568bc0af2c636be2f6df16c651eb1.tar.gz
rails-755f6bf3d3d568bc0af2c636be2f6df16c651eb1.tar.bz2
rails-755f6bf3d3d568bc0af2c636be2f6df16c651eb1.zip
Merge pull request #25263 from abhishekjain16/doc_accessor_thread
[skip ci] Fix grammar
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb b/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
index 0b3d18301e..045668c207 100644
--- a/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
+++ b/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
@@ -25,7 +25,7 @@ class Module
# end
# # => NameError: invalid attribute name: 1_Badname
#
- # If you want to opt out the creation on the instance reader method, pass
+ # If you want to opt out of the creation of the instance reader method, pass
# <tt>instance_reader: false</tt> or <tt>instance_accessor: false</tt>.
#
# class Current
@@ -65,7 +65,7 @@ class Module
# Current.user = "DHH"
# Thread.current[:attr_Current_user] # => "DHH"
#
- # If you want to opt out the instance writer method, pass
+ # If you want to opt out of the creation of the instance writer method, pass
# <tt>instance_writer: false</tt> or <tt>instance_accessor: false</tt>.
#
# class Current