lib/reek/smells/smell_detector.rb in reek-1.2.7.1 vs lib/reek/smells/smell_detector.rb in reek-1.2.7.2
- old
+ new
@@ -57,15 +57,9 @@
# SMELL: Getter (only used in 1 test)
def enabled?
@config.enabled?
end
- def configure(config)
- my_part = config[self.class.name.split(/::/)[-1]]
- return unless my_part
- configure_with(my_part)
- end
-
def configure_with(config)
@config.adopt!(config)
end
def copy