Sha256: 247705378a50ecc9c935d7a785052edbefadb008887b724fd387bb37dc2441e5

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

# A helper method to reset Sinatra routes.
#
class Sinatra::Base
  class << self
    def reset_routes!
      @routes = {}
      @filters = {:before => [], :after => []}
      @errors = {}
    end
  end
end # class Sinatra::Base

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aerogel-core-1.4.12 lib/aerogel/core/routes/sinatra_ex.rb
aerogel-core-1.4.11 lib/aerogel/core/routes/sinatra_ex.rb
aerogel-core-1.4.10 lib/aerogel/core/routes/sinatra_ex.rb
aerogel-core-1.3.0 lib/aerogel/core/routes/sinatra_ex.rb