module Sinatra
module Sinatra::Delegator
module Sinatra::Helpers
module Sinatra::Templates
module Sinatra::Templates::ContentTyped
class Rack::Builder
class Sinatra::Application
class Sinatra::BadRequest
class Sinatra::Base
class Sinatra::CommonLogger
class Sinatra::ExtendedRack
class Sinatra::Helpers::Stream
class Sinatra::NotFound
class Sinatra::Request
class Sinatra::Request::AcceptEntry
class Sinatra::Response
class Sinatra::ShowExceptions
class Sinatra::Wrapper
sinatra
2.0.0.beta1
# accept?
def accept?(type) preferred_type(type).to_s.include?(type) end