Skip to content

Commit

Permalink
Unused return value of map
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Dec 15, 2022
1 parent c0f16c1 commit bdd090a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -193,7 +193,7 @@ def delegate(*methods, to: nil, prefix: nil, allow_nil: nil, private: nil)
method_def = []
method_names = []

methods.map do |method|
methods.each do |method|
method_name = prefix ? "#{method_prefix}#{method}" : method
method_names << method_name.to_sym

Expand Down

0 comments on commit bdd090a

Please sign in to comment.