Top Level Namespace
Defined Under Namespace
Modules: Ghoul
Instance Method Summary collapse
Instance Method Details
#require_all(path) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/ghoul.rb', line 12 def require_all(path) glob = File.join(File.dirname(__FILE__), path, '*.rb') Dir[glob].each do |f| require f end end |