Top Level Namespace
Defined Under Namespace
Modules: Newport Classes: Logger
Instance Method Summary collapse
Instance Method Details
#require_all(path) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/newport.rb', line 5 def require_all(path) glob = File.join(__dir__, path, '*.rb') Dir[glob].each do |f| require f end end |