Extensions to File needed by Reek.
Creates a new Source that assumes this File contains Ruby source code and prepares it to be examined for code smells.
@return [Reek::Source::SourceFile]
# File lib/reek/source/core_extras.rb, line 13 def to_reek_source Reek::Source::SourceFile.new(path) end
Generated with the Darkfish Rdoc Generator 2.