Padrino::Mounter

Class: Padrino::Mounter

Inherits:
Object
  • Object

Overview

Represents a particular mounted Padrino application. Stores the name of the application (app folder name) and url mount path.

Examples:

Mounter.new("blog_app", :app_class => "Blog").to("/blog")
Mounter.new("blog_app", :app_file => "/path/to/blog/app.rb").to("/blog")

Defined Under Namespace

Modules: ApplicationExtension Classes:登录查看完整内容