class TheFox::TermKit::AppController

Controller sub-class.

Public Class Methods

new(app) click to toggle source
Calls superclass method TheFox::TermKit::Controller::new
# File lib/termkit/controller/controller_app.rb, line 9
def initialize(app)
        if !app.is_a?(App)
                raise ArgumentError, "Argument is not a App -- #{app.class} given"
        end
        
        super()
        
        @app = app
end