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:
commit
755f6bf3d3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue