Module: Taro

Defined in:
lib/taro/version.rb,
lib/taro.rb,
lib/taro/declarations.rb

Overview

:nocov:

Defined Under Namespace

Modules: CommonReturns, Config, DeclarationsMap, Export, Rails, StatusCode, Types Classes: ArgumentError, Declaration, Error, InputError, InvariantError, ResponseError, ReturnDef, Route, RuntimeError, ValidationError

Constant Summary collapse

None =

placeholder for not-given keyword arguments

Object.new
VERSION =
"2.0.0"

Class Method Summary collapse

Class Method Details

.configObject



20
21
22
# File 'lib/taro/config.rb', line 20

def Taro.config
  Taro::Config
end

.declarationsObject



2
3
4
# File 'lib/taro/declarations.rb', line 2

def self.declarations
  DeclarationsMap
end

.resetObject



4
5
6
7
# File 'lib/taro.rb', line 4

def self.reset
  declarations.reset
  Taro::Types::BaseType.last_render = nil
end