Parent

Methods

Class/Module Index [+]

Quicksearch

File

Extensions to File needed by Reek.

Public Instance Methods

to_reek_source() click to toggle source

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.