mobiledefense/gem_checks

View on GitHub
lib/gem_checks/gemnasium_client.rb

Summary

Maintainability
A
0 mins
Test Coverage

Do not prefix writer method names with set_.
Open

  def set_log_level(logger)
Severity: Minor
Found in lib/gem_checks/gemnasium_client.rb by rubocop

This cop makes sure that accessor methods are named properly.

Example:

# bad
def set_attribute(value)
end

# good
def attribute=(value)
end

# bad
def get_attribute
end

# good
def attribute
end

There are no issues that match your filters.

Category
Status