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

Version Path
padrino-core-0.16.0.pre3 lib/padrino-core/cli/console.rb
padrino-core-0.16.0.pre2 lib/padrino-core/cli/console.rb
padrino-core-0.15.3 lib/padrino-core/cli/console.rb
padrino-core-0.15.2 lib/padrino-core/cli/console.rb
padrino-core-0.15.1 lib/padrino-core/cli/console.rb
padrino-core-0.15.0 lib/padrino-core/cli/console.rb
padrino-core-0.14.4 lib/padrino-core/cli/console.rb
padrino-core-0.14.3 lib/padrino-core/cli/console.rb
padrino-core-0.12.9 lib/padrino-core/cli/console.rb
padrino-core-0.14.2 lib/padrino-core/cli/console.rb
padrino-core-0.13.3.4 lib/padrino-core/cli/console.rb
padrino-core-0.14.1.1 lib/padrino-core/cli/console.rb
padrino-core-0.14.1 lib/padrino-core/cli/console.rb
padrino-core-0.14.0.2 lib/padrino-core/cli/console.rb
padrino-core-0.14.0.1 lib/padrino-core/cli/console.rb
padrino-core-0.14.0 lib/padrino-core/cli/console.rb
padrino-core-0.14.0.rc2 lib/padrino-core/cli/console.rb
padrino-core-0.14.0.rc1 lib/padrino-core/cli/console.rb
padrino-core-0.13.3.3 lib/padrino-core/cli/console.rb
padrino-core-0.13.3.2 lib/padrino-core/cli/console.rb