mohsen-alizadeh/rails-pdate

View on GitHub
lib/rails_pdate/base_date_time.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method RailsPdate::BaseDateTime#== is defined at both lib/rails_pdate/base_date_time.rb:26 and lib/rails_pdate/base_date_time.rb:81.
Open

    def ==(other)
Severity: Minor
Found in lib/rails_pdate/base_date_time.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