module Ohai::Mixin::TrainHelpers

Public Instance Methods

dir_glob(path) click to toggle source

XXX: this needs better support directly in train

# File lib/ohai/mixin/train_helpers.rb, line 31
def dir_glob(path)
  shell_out!("ls -d #{path}").stdout.split
end