snsavage/retro_casts

View on GitHub
lib/retro_casts/episode.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method RetroCasts::Episode#date is defined at both lib/retro_casts/episode.rb:3 and lib/retro_casts/episode.rb:14.
Open

    def date
Severity: Minor
Found in lib/retro_casts/episode.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

Method RetroCasts::Episode#length is defined at both lib/retro_casts/episode.rb:3 and lib/retro_casts/episode.rb:18.
Open

    def length
Severity: Minor
Found in lib/retro_casts/episode.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