QuackatronHQ / Gigarepo

Multiple methods with same name in the same scope RB-LI1013
Bug risk
Major
2 occurrences in this check
Method Object#some_method is defined at both ruby/code.rb:33 and ruby/code.rb:59.
56# Raises "put empty method definitions on a single line"
57# Also raises "multiple methods with same name in the same scope" as we have a
58# method with same name above
59def some_method60end
61
62# Raises "Invalid annotation keyword format detected"
Method Object#some_method is defined at both ruby/code.rb:33 and ruby/code.rb:38.
35end
36
37# Raises "unreachable code detected"
38def some_method39  return
40  do_something
41end