1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #25263 from abhishekjain16/doc_accessor_thread

[skip ci] Fix grammar
This commit is contained in:
Eileen M. Uchitelle 2016-06-03 10:21:49 -04:00
commit 755f6bf3d3

View file

@ -25,7 +25,7 @@ class Module
# end # end
# # => NameError: invalid attribute name: 1_Badname # # => 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>. # <tt>instance_reader: false</tt> or <tt>instance_accessor: false</tt>.
# #
# class Current # class Current
@ -65,7 +65,7 @@ class Module
# Current.user = "DHH" # Current.user = "DHH"
# Thread.current[:attr_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>. # <tt>instance_writer: false</tt> or <tt>instance_accessor: false</tt>.
# #
# class Current # class Current