Sha256: 5c302b517a90c3309629ef53b955ee9a8f00738cd41d98c4a87426e331b036e8
Contents?: true
Size: 516 Bytes
Versions: 16
Compression:
Stored size: 516 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.app_object}" Padrino.require_dependency(app.app_file) app.app_object.setup_application! end
Version data entries
16 entries across 16 versions & 1 rubygems