Module: Aws::Templates::Processor::Routing

Included in:
Help::Rdoc::Routing, Aws::Templates::Processor
Defined in:
lib/aws/templates/processor/routing.rb

Overview

Routing DSL

Defines trivial methods to wire handlers with respective entities.

Instance Method Summary collapse

Instance Method Details

#register(*args) ⇒ Object

Proxy for Registry register method



21
22
23
# File 'lib/aws/templates/processor/routing.rb', line 21

def register(*args)
  registry.register(*args)
end

#registryObject

Registry accessor

All handlers and corresponding entities in a processor are stored in a registry.



15
16
17
# File 'lib/aws/templates/processor/routing.rb', line 15

def registry
  @registry ||= Processor::Registry.new
end