decko-commons/decko

View on GitHub
card/lib/card/set/event/all.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
82%

Do not prefix writer method names with set_.
Invalid

        def set_condition_card old_sets
Severity: Minor
Found in card/lib/card/set/event/all.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