Method: Sinatra::Base.enable
- Defined in:
- lib/sinatra/base.rb
.enable(*opts) ⇒ Object
Same as calling set :option, true for each of the given options.
1390 1391 1392 |
# File 'lib/sinatra/base.rb', line 1390 def enable(*opts) opts.each { |key| set(key, true) } end |