decko-commons/decko

View on GitHub
mod/monkey/set/all/debug.rb

Summary

Maintainability
A
0 mins
Test Coverage

Do not prefix writer method names with set_.
Open

  def set_modules_accordion subject
Severity: Minor
Found in mod/monkey/set/all/debug.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

Do not prefix writer method names with set_.
Open

  def set_patterns_breadcrumb subject
Severity: Minor
Found in mod/monkey/set/all/debug.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

Do not prefix writer method names with set_.
Open

  def set_module_ancestor_hash subject
Severity: Minor
Found in mod/monkey/set/all/debug.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