Sha256: d355d6e0b53ebfbd132ffa9af428533ac110eb13942bfa91c6ec263391d4212e
Contents?: true
Size: 501 Bytes
Versions: 9
Compression:
Stored size: 501 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 " * '#{app.name}' mapped to '#{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
9 entries across 9 versions & 1 rubygems