Module: Sinatra::Contrib

Extended by:
Loader
Defined in:
lib/sinatra/contrib.rb,
lib/sinatra/contrib/setup.rb,
lib/sinatra/contrib/version.rb

Defined Under Namespace

Modules: All, Common, Custom, Loader

Constant Summary collapse

SIGNATURE =
[1, 3, 1]
VERSION =
SIGNATURE.join('.')

Class Method Summary collapse

Methods included from Loader

autoload, extensions, helpers, register, registered

Class Method Details

.registered(base) ⇒ Object



49
50
51
# File 'lib/sinatra/contrib/setup.rb', line 49

def self.registered(base)
  base.register Common, Custom
end

.versionObject



3
4
5
# File 'lib/sinatra/contrib/version.rb', line 3

def self.version
  VERSION
end