A comment header from an abstract syntax tree; found directly above module, class and method definitions.
# File lib/reek/source/code_comment.rb, line 29 def add_to_config(smell, options) options ||= ': { enabled: false }' @config.merge! YAML.load(smell.gsub(/(?:^|_)(.)/) { $1.upcase } + options) # extend this to all configs --------------------------^ # extend to allow configuration of whole smell class, not just subclass end
Generated with the Darkfish Rdoc Generator 2.