Top Level Namespace

Includes:
ERB::Util

Defined Under Namespace

Modules: Vanilla Classes: Dynasnip

Instance Method Summary collapse

Instance Method Details

#app(reload = false) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/vanilla/console.rb', line 6

def app(reload=false)
  if !@__vanilla_console_app || reload
    load "application.rb"
    @__vanilla_console_app = Vanilla.apps.first.new
  end
  @__vanilla_console_app
end