class AnalDiffist::TargetFinder

Public Class Methods

new() click to toggle source
# File lib/analdiffist/target_finder.rb, line 3
def initialize
end

Public Instance Methods

targets() click to toggle source
# File lib/analdiffist/target_finder.rb, line 5
def targets
  @targets = []
  @targets << "lib" if Dir.exists?("lib")
  @targets << "app" if Dir.exists?("app")
  @targets
end
to_s() click to toggle source
# File lib/analdiffist/target_finder.rb, line 12
def to_s
  targets.join(' ')
end