Sha256: 64581393d8cdbfb5ed5c878ecec7b027ae62308373d166713d09247d98a17910
Contents?: true
Size: 510 Bytes
Versions: 14
Compression:
Stored size: 510 Bytes
Contents
# Reloads classes def reload! Padrino.reload! end # Show applications def applications puts "==== List of Mounted Applications ====\n\n" Padrino.mounted_apps.each do |app| puts " * %-10s mapped to %s" % [app.name, app.uri_root] end puts Padrino.mounted_apps.collect { |app| "#{app.name} => #{app.uri_root}" } end # Load apps Padrino.mounted_apps.each do |app| puts "=> Loading Application #{app.name}" Padrino.require_dependency(app.app_file) app.app_object.setup_application! end
Version data entries
14 entries across 14 versions & 1 rubygems