Sha256: 5db618be12994264393bd16339a201197c8951e5e423c1827b7cbb9d90ae41de
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
Feature: Smell - SubclassedFromCoreClass Scenario: Reports smell Given a file named "my_hash.rb" with: """ # The MyHash class class MyHash < Hash end """ When I run `reek my_hash.rb` Then it reports: """ my_hash.rb -- 1 warning: [2]:SubclassedFromCoreClass: MyHash inherits from core class 'Hash' [https://github.com/troessner/reek/blob/master/docs/Subclassed-From-Core-Class.md] """
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reek-4.4.2 | features/smells/subclassed_from_core_class.feature |
reek-4.4.1 | features/smells/subclassed_from_core_class.feature |