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:31 and ruby/code.rb:57.
54# Raises "put empty method definitions on a single line"
55# Also raises "multiple methods with same name in the same scope" as we have a
56# method with same name above
57def some_method58end
59
60# Raises "Invalid annotation keyword format detected"
Method Object#some_method is defined at both ruby/code.rb:31 and ruby/code.rb:36.
33end
34
35# Raises "unreachable code detected"
36def some_method37  return
38  do_something
39end