Top Level Namespace

Defined Under Namespace

Modules: Sprinkle Classes: Array, BlankSlate, Object, String, Symbol

Instance Method Summary collapse

Instance Method Details

#require_all(*args) ⇒ Object

Configure active support to log auto-loading of dependencies ActiveSupport::Dependencies::RAILS_DEFAULT_LOGGER = Logger.new($stdout) ActiveSupport::Dependencies.log_activity = true


15
16
17
18
# File 'lib/sprinkle.rb', line 15

def require_all(*args) # :nodoc:
  args.each { |f|
    Dir[File.dirname(__FILE__) + "/sprinkle/#{f}"].each { |e| require e } }
end