aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@gmail.com>2016-08-15 11:45:40 -0400
committerGitHub <noreply@github.com>2016-08-15 11:45:40 -0400
commit22996ca6ab62c844d16aeecb35d58a5d76c6697e (patch)
tree9d7558e538df5745e8ee8c6eb1bd6d6910264cd8 /activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
parent6cea7f789c395c96f19bbe9280d11f6b87466e63 (diff)
parent738156f9eee79d9ce5ab4012a25b2a3c22d5daf1 (diff)
downloadrails-22996ca6ab62c844d16aeecb35d58a5d76c6697e.tar.gz
rails-22996ca6ab62c844d16aeecb35d58a5d76c6697e.tar.bz2
rails-22996ca6ab62c844d16aeecb35d58a5d76c6697e.zip
Merge pull request #25570 from y-yagi/remove_useless_parameter
remove useless parameter
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb6
1 files changed, 3 insertions, 3 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 4c16b26138..b1e6fe71e0 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
@@ -140,9 +140,9 @@ class Module
#
# Current.new.user = "DHH" # => NoMethodError
# Current.new.user # => NoMethodError
- def thread_mattr_accessor(*syms, &blk)
- thread_mattr_reader(*syms, &blk)
- thread_mattr_writer(*syms, &blk)
+ def thread_mattr_accessor(*syms)
+ thread_mattr_reader(*syms)
+ thread_mattr_writer(*syms)
end
alias :thread_cattr_accessor :thread_mattr_accessor
end