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

Merge pull request #33486 from f-mer/patch-1

Fix example in thread_mattr_accessor documentation

[ci skip]
This commit is contained in:
Ryuta Kamizono 2018-07-31 19:03:22 +09:00 committed by GitHub
commit 69f6c4d2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ class Module
# Or pass <tt>instance_accessor: false</tt>, to opt out both instance methods.
#
# class Current
# mattr_accessor :user, instance_accessor: false
# thread_mattr_accessor :user, instance_accessor: false
# end
#
# Current.new.user = "DHH" # => NoMethodError