card/lib/card/cache/persistent.rb
Method Card::Cache::Persistent#prefix
is defined at both card/lib/card/cache/persistent.rb:20 and card/lib/card/cache/persistent.rb:68. Open
Open
def prefix
- 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