Module: Sinatra::Abingo

Defined in:
lib/sinmetrics/abingo.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



265
266
267
# File 'lib/sinmetrics/abingo.rb', line 265

def self.registered app
  app.helpers AbingoHelper
end

Instance Method Details

#abingo(&blk) ⇒ Object



261
262
263
# File 'lib/sinmetrics/abingo.rb', line 261

def abingo &blk
  AbingoSettings.new(self, &blk)
end