eturino/ruby_key_set

View on GitHub
lib/key_set/some.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Showing 0 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Wontfix

def remove(other)
case other
when All
# we have some, we remove everything => we have nothing
KeySet.none
Severity: Minor
Found in lib/key_set/some.rb and 1 other location - About 40 mins to fix
lib/key_set/all_except_some.rb on lines 16..32

Similar blocks of code found in 2 locations. Consider refactoring.
Wontfix

def intersect(other)
case other
when All
KeySet.some keys.deep_dup
when None
Severity: Minor
Found in lib/key_set/some.rb and 1 other location - About 25 mins to fix
lib/key_set/all_except_some.rb on lines 36..48

There are no issues that match your filters.

Category
Status