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.10.7 lib/padrino-core/cli/console.rb
middleman-core-3.0.0.beta.2 lib/middleman-core/vendor/padrino-core-0.10.6/lib/padrino-core/cli/console.rb
padrino-core-0.10.6 lib/padrino-core/cli/console.rb
padrino-core-0.10.6.e lib/padrino-core/cli/console.rb
padrino-core-0.10.6.d lib/padrino-core/cli/console.rb
padrino-core-0.10.6.c lib/padrino-core/cli/console.rb
padrino-core-0.10.6.b lib/padrino-core/cli/console.rb
padrino-core-0.10.6.a lib/padrino-core/cli/console.rb
middleman-core-3.0.0.beta.1 lib/middleman-core/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-core-3.0.0.alpha.9 lib/middleman-core/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-core-3.0.0.alpha.8 lib/middleman-core/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-core-3.0.0.alpha.7 lib/middleman-core/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-3.0.0.alpha.6 lib/middleman/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-3.0.0.alpha.5 lib/middleman/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-3.0.0.alpha.4 lib/middleman/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-3.0.0.alpha.3 lib/middleman/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
middleman-3.0.0.alpha.2 lib/middleman/vendor/padrino-core-0.10.5/lib/padrino-core/cli/console.rb
padrino-core-0.10.5 lib/padrino-core/cli/console.rb
padrino-core-0.10.4 lib/padrino-core/cli/console.rb
padrino-core-0.10.3 lib/padrino-core/cli/console.rb