Sha256: 99f271a52770cc624a84b4bcc9d67896392ccb3f6e9d66c337f027c39e3fe069
Contents?: true
Size: 275 Bytes
Versions: 3
Compression:
Stored size: 275 Bytes
Contents
module AnalDiffist class TargetFinder def initialize end def targets @targets = [] @targets << "lib" if Dir.exists?("lib") @targets << "app" if Dir.exists?("app") @targets end def to_s targets.join(' ') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
analdiffist-0.4.0 | lib/analdiffist/target_finder.rb |
analdiffist-0.3.0 | lib/analdiffist/target_finder.rb |
analdiffist-0.2.0 | lib/analdiffist/target_finder.rb |