Class: Sinatra::Base

Inherits:
Object
  • Object
show all
Extended by:
Rack::Conditionable
Defined in:
lib/sinatra/base/conditional.rb

Overview

Add “use_if” method to Sinatra::Base. It’s an alias of Rack::Conditional.

Method Summary

Methods included from Rack::Conditionable

use_if