Module: Taro::Rails

Extended by:
ActiveDeclarations, DeclarationBuffer
Defined in:
lib/taro/rails.rb

Overview

:nocov:

Defined Under Namespace

Modules: ActiveDeclarations, DSL, DeclarationBuffer, Generators, ParamParsing, ResponseValidation, RouteFinder Classes: Declaration, NormalizedRoute, Railtie

Class Method Summary collapse

Methods included from ActiveDeclarations

apply, declaration_for

Methods included from DeclarationBuffer

apply_buffered_declaration, buffered_declaration, buffered_declarations, pop_buffered_declaration

Class Method Details

.resetObject



11
12
13
14
15
# File 'lib/taro/rails.rb', line 11

def self.reset
  buffered_declarations.clear
  RouteFinder.clear_cache
  Taro.reset
end