lib/swagger/path.rb
Method Swagger::Path#operations
is defined at both lib/swagger/path.rb:4 and lib/swagger/path.rb:12. Open
Open
def operations
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop checks for duplicated instance (or singleton) method definitions.
Example:
# bad
def duplicated
1
end
def duplicated
2
end
Example:
# bad
def duplicated
1
end
alias duplicated other_duplicated
Example:
# good
def duplicated
1
end
def other_duplicated
2
end