Fix example in thread_mattr_accessor documentation

This commit is contained in:
Fabian Mersch 2018-07-31 11:44:56 +02:00 committed by GitHub
parent 0f6a4891fe
commit b1589f6712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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