Class: File
Instance Method Summary collapse
-
#to_reek_source ⇒ Object
Creates a new
Source
that assumes this File contains Ruby source code and prepares it to be examined for code smells.
Instance Method Details
#to_reek_source ⇒ Object
Creates a new Source
that assumes this File contains Ruby source code and prepares it to be examined for code smells.
28 29 30 |
# File 'lib/reek/adapters/core_extras.rb', line 28 def to_reek_source Reek::SourceFile.new(self) end |