Sinatra类的继承 (这里把sinatra中间件和sinatra应用统称为sinatra类)当B继承A时: B在运行filter的阶段,会先运行自己的filters,然后运行A的filters 同理,B在运行routes时,也会运行A的routes(前提是,B没有找到匹配的route)