lib/reek/smells/smell_detector.rb in reek-1.4.0 vs lib/reek/smells/smell_detector.rb in reek-1.5.0
- old
+ new
@@ -23,10 +23,10 @@
# in any configuration file.
DEFAULT_EXCLUDE_SET = []
class << self
def contexts
- [:defn, :defs]
+ [:def, :defs]
end
def default_config
{
Core::SmellConfiguration::ENABLED_KEY => true,