Module: Serve

Defined in:
lib/serve/out.rb,
lib/serve/rack.rb,
lib/serve/router.rb,
lib/serve/project.rb,
lib/serve/version.rb,
lib/serve/javascripts.rb,
lib/serve/application.rb,
lib/serve/view_helpers.rb,
lib/serve/handlers/sass_handler.rb,
lib/serve/handlers/email_handler.rb,
lib/serve/handlers/dynamic_handler.rb,
lib/serve/handlers/redirect_handler.rb,
lib/serve/handlers/file_type_handler.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ContentHelpers, EscapeHelpers, FlashHelpers, JavaScripts, Out, ParamHelpers, RenderHelpers, Router, TagHelpers, ViewHelpers Classes: Application, DynamicHandler, EmailHandler, FileTypeHandler, Headers, Project, RackAdapter, RedirectHandler, Request, Response, SassHandler

Class Method Summary collapse

Class Method Details

.versionObject



2
3
4
5
6
7
# File 'lib/serve/version.rb', line 2

def self.version
  @version ||= begin
    filename = File.join(File.dirname(__FILE__), '..', '..', 'VERSION')
    IO.read(filename).strip
  end
end