Path: | vendor/rails/railties/lib/console_app.rb |
Last Update: | Thu Dec 09 09:26:54 +0100 2010 |
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 9 9: def app(create=false) 10: @app_integration_instance = nil if create 11: @app_integration_instance ||= new_session do |sess| 12: sess.host! "www.example.com" 13: end 14: end