| Path: | vendor/rails/railties/lib/console_app.rb |
| Last Update: | Sun Jan 22 10:15:36 +0000 2012 |
reference the global "app" instance, created on demand. To recreate the instance, pass a non-false value as the parameter.
# File vendor/rails/railties/lib/console_app.rb, line 8
8: def app(create=false)
9: @app_integration_instance = nil if create
10: @app_integration_instance ||= new_session do |sess|
11: sess.host! "www.example.com"
12: end
13: end