diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2016-08-15 11:45:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 11:45:40 -0400 |
commit | 22996ca6ab62c844d16aeecb35d58a5d76c6697e (patch) | |
tree | 9d7558e538df5745e8ee8c6eb1bd6d6910264cd8 | |
parent | 6cea7f789c395c96f19bbe9280d11f6b87466e63 (diff) | |
parent | 738156f9eee79d9ce5ab4012a25b2a3c22d5daf1 (diff) | |
download | rails-22996ca6ab62c844d16aeecb35d58a5d76c6697e.tar.gz rails-22996ca6ab62c844d16aeecb35d58a5d76c6697e.tar.bz2 rails-22996ca6ab62c844d16aeecb35d58a5d76c6697e.zip |
Merge pull request #25570 from y-yagi/remove_useless_parameter
remove useless parameter
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb | 6 |
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 |