module PPStats::Utils
Public Class Methods
files_dotless(path)
click to toggle source
# File lib/pp-stats/utils.rb, line 3 def self.files_dotless(path) Dir.new(path).entries.reject { |f| f =~ /^\./} end
files_recursive_nodirs(path)
click to toggle source
# File lib/pp-stats/utils.rb, line 7 def self.files_recursive_nodirs(path) Dir.glob("#{path}/**/*").entries.reject { |f| File.directory? f } end