decko-commons/decko

View on GitHub
card/lib/card/content/diff/result.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method Card::Content::Diff::Result#summary is defined at both card/lib/card/content/diff/result.rb:6 and card/lib/card/content/diff/result.rb:15.
Open

        def summary

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