Top Level Namespace
Defined Under Namespace
Modules: Splut
Instance Method Summary collapse
Instance Method Details
#require_all(path) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/splut.rb', line 8 def require_all(path) pattern = File.join(__dir__, path, "*.rb") Dir.glob(pattern).sort.each do |f| require f end end |