Parent

Methods

Class/Module Index [+]

Quicksearch

IO

Extensions to IO needed by Reek.

Public Instance Methods

to_reek_source(description = 'io') click to toggle source

Creates a new Source that assumes this IO stream contains Ruby source code and prepares it to be examined for code smells.

@return [Reek::Source::SourceCode]

# File lib/reek/source/core_extras.rb, line 28
def to_reek_source(description = 'io')
  Reek::Source::SourceCode.new(self.readlines.join, description)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.