decko-commons/decko

View on GitHub
card/lib/card/cache/persistent.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
77%

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

      def prefix
Severity: Minor
Found in card/lib/card/cache/persistent.rb by rubocop

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

There are no issues that match your filters.

Category
Status