Top Level Namespace

Defined Under Namespace

Modules: PROIEL

Instance Method Summary collapse

Instance Method Details

#require_all(path) ⇒ Object



20
21
22
23
24
25
# File 'lib/proiel/cli/commands.rb', line 20

def require_all(path)
  glob = File.join(File.dirname(__FILE__), path, '*.rb')
  Dir[glob].each do |f|
    require f
  end
end