Sha256: ecf94287ab934b8635b9d0e16666b523e32278d7afe17747022bfd314b26145e
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
$:.unshift File.dirname(__FILE__) module Reek class Report def initialize @smells = [] end def <<(smell) @smells << smell end def empty? @smells.empty? end def length @smells.length end def [](i) @smells[i] end def to_s @smells.map {|smell| smell.report}.join("\n") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-0.0.1 | lib/reek/report.rb |