metamaps/metamaps

View on GitHub
app/models/follow_reason.rb

Summary

Maintainability
A
0 mins
Test Coverage

Rename has_reason to reason?.
Open

  def has_reason
Severity: Minor
Found in app/models/follow_reason.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