Module: Sinatra::Muster

Defined in:
lib/sinatra/muster.rb,
lib/sinatra/muster/version.rb

Defined Under Namespace

Modules: Helpers

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ void

This method returns an undefined value.

Registers the helpers with the current Sinatra application

Parameters:

  • app (Sinatra::Base)

    The Sinatra application instance



90
91
92
# File 'lib/sinatra/muster.rb', line 90

def self.registered(app)
  app.helpers Sinatra::Muster::Helpers
end