Method: Sinatra::Extension#configure

Defined in:
lib/sinatra/extension.rb

#configure(*args, &block) ⇒ Object


61
62
63
# File 'lib/sinatra/extension.rb', line 61

def configure(*args, &block)
  record(:configure, *args) { |c| c.instance_exec(c, &block) }
end