Extensions to IO needed by Reek.
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
Generated with the Darkfish Rdoc Generator 2.