Sha256: cc72736cc403094e71d0c7fcbe058d94399b948507854fbf86269d2d29c68852
Contents?: true
Size: 465 Bytes
Versions: 91
Compression:
Stored size: 465 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.map { |app| "#{app.name} => #{app.uri_root}" } end # Load apps Padrino.mounted_apps.each do |app| puts "=> Loading Application #{app.app_class}" app.app_obj.setup_application! end
Version data entries
91 entries across 91 versions & 3 rubygems