Permalink
Browse files

Merge pull request #25570 from y-yagi/remove_useless_parameter

remove useless parameter
  • Loading branch information...
eileencodes committed Aug 15, 2016
2 parents 6cea7f7 + 738156f commit 22996ca6ab62c844d16aeecb35d58a5d76c6697e
@@ -140,9 +140,9 @@ def #{sym}=(obj)
#
# 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

0 comments on commit 22996ca

Please sign in to comment.