kevinrutherford/reek — Issue #92: SimulatedPolymorphism options ignored
Author: ares
Created: 2011-11-16 14:55:22+00:00
State: open

I tried to turn off this check in my cancan definition class (which is ugly by definition :) but this does not work

```
# :reek:SimulatedPolymorphism { max_ifs = 3 }
```

this does not work either

```
# :reek:SimulatedPolymorphism { enabled = false }
```

I already disabled Duplication smell which works so my code now looks like

```
# :reek:Duplication { enabled = false }
# :reek:SimulatedPolymorphism { enabled = false }
def initialize(user)
...
end
```

it does not work even when I remove Duplication smell configuration