Reek::Source::SourceCode
Represents a file of Ruby source, whose contents will be examined for code smells.
# File lib/reek/source/source_file.rb, line 12 def initialize(path) @path = path super(IO.readlines(@path).join, @path) end
# File lib/reek/source/source_file.rb, line 17 def configure(sniffer) path = File.expand_path(File.dirname(@path)) all_config_files(path).each { |cf| ConfigFile.new(cf).configure(sniffer) } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.