decko-commons/decko

View on GitHub
mod/history/set/all/history.rb

Summary

Maintainability
A
0 mins
Test Coverage

Rename has_edits? to edits?.
Open

def has_edits?
Severity: Minor
Found in mod/history/set/all/history.rb by rubocop

This cop makes sure that predicates are named properly.

Example:

# bad
def is_even?(value)
end

# good
def even?(value)
end

# bad
def has_value?
end

# good
def value?
end

There are no issues that match your filters.

Category
Status