Module: Racket
- Defined in:
- lib/racket.rb,
lib/racket/utils.rb,
lib/racket/router.rb,
lib/racket/current.rb,
lib/racket/request.rb,
lib/racket/session.rb,
lib/racket/version.rb,
lib/racket/response.rb,
lib/racket/controller.rb,
lib/racket/application.rb,
lib/racket/utils/views.rb,
lib/racket/helpers/file.rb,
lib/racket/helpers/sass.rb,
lib/racket/helpers/view.rb,
lib/racket/plugins/base.rb,
lib/racket/plugins/sass.rb,
lib/racket/view_manager.rb,
lib/racket/settings/base.rb,
lib/racket/utils/helpers.rb,
lib/racket/utils/routing.rb,
lib/racket/helpers/routing.rb,
lib/racket/utils/exceptions.rb,
lib/racket/utils/application.rb,
lib/racket/utils/file_system.rb,
lib/racket/settings/controller.rb,
lib/racket/settings/application.rb
Overview
Racket - The noisy Rack MVC framework Copyright © 2015 Lars Olsson <[email protected]>
This file is part of Racket.
Racket is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Racket is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with Racket. If not, see <www.gnu.org/licenses/>.
Defined Under Namespace
Modules: Helpers, Plugins, Settings, Utils, Version Classes: Application, Controller, Current, Request, Response, Router, Session, ViewManager
Class Method Summary collapse
-
.require(*args) ⇒ Object
Requires a file using the current application directory as a base path.
-
.version ⇒ String
Returns the current version of Racket.
Class Method Details
.require(*args) ⇒ Object
Requires a file using the current application directory as a base path.
40 41 42 43 |
# File 'lib/racket.rb', line 40 def require(*args) Application.require(*args) nil end |
.version ⇒ String
Returns the current version of Racket.
48 49 50 51 |
# File 'lib/racket.rb', line 48 def version require_relative 'racket/version.rb' Version.current end |