Top Level Namespace
Defined Under Namespace
Modules: RedshiftExtractor
Instance Method Summary
collapse
Instance Method Details
#require_all(pattern) ⇒ Object
8
9
10
11
|
# File 'lib/redshift_extractor.rb', line 8
def require_all(pattern)
root = File.expand_path("../", File.dirname(__FILE__))
Dir.glob("#{root}/#{pattern}/**/*.rb").sort.each { |path| require path }
end
|