Class: Sinatra::Base
- Inherits:
-
Object
show all
- Defined in:
- lib/big_band/integration.rb,
lib/big_band.rb
Overview
Class Method Summary
collapse
Class Method Details
.register(*extensions, &block) ⇒ Object
244
245
246
247
248
249
|
# File 'lib/big_band.rb', line 244
def register(*extensions, &block)
big_band, normal = extensions.partition { |e| e.respond_to? :big_band_extensions }
big_band.each { |e| e.load_extensions self }
register_without_big_band(*normal, &block)
extensions
end
|
.register_without_big_band ⇒ Object
243
|
# File 'lib/big_band.rb', line 243
alias register_without_big_band register
|