Method: Sinatra::Base.disable

Defined in:
lib/sinatra/base.rb

.disable(*opts) ⇒ Object

Same as calling set :option, false for each of the given options.



1395
1396
1397
# File 'lib/sinatra/base.rb', line 1395

def disable(*opts)
  opts.each { |key| set(key, false) }
end