class WhoAmI::Function::Ls

Public Instance Methods

call(path) click to toggle source
# File lib/who_am_i/function/ls.rb, line 6
def call(path)
  glob = File.expand_path(path)

  Dir[glob].select { |path| File.file?(path) }
end