class Sinatra::Base
def extensions
def extensions if superclass.respond_to?(:extensions) (@extensions + superclass.extensions).uniq else @extensions end end
def extensions if superclass.respond_to?(:extensions) (@extensions + superclass.extensions).uniq else @extensions end end