Method: Qas::Config#found

Defined in:
lib/qas/config.rb

#foundObject



26
27
28
29
30
31
32
33
34
35
# File 'lib/qas/config.rb', line 26

def found
  files = Pathname.new(File.join(Dir.home, '.config', 'qas'))

  [].tap do |x|
    # Check if config does not exist if a symlink
    files.children.each do |y|
      x << y if y.exist?
    end
  end
end