# File lib/sinatra/respond_to.rb, line 158 def self.included(klass) klass.class_eval do alias :content_type_without_save :content_type def content_type(*args) content_type_without_save *args @_format = args.first.to_sym response['Content-Type'] end end end