Method: Jets::Processors::Deducer#initialize
- Defined in:
- lib/jets/processors/deducer.rb
#initialize(handler) ⇒ Deducer
Returns a new instance of Deducer.
8 9 10 11 12 13 |
# File 'lib/jets/processors/deducer.rb', line 8 def initialize(handler) @handler = handler # handlers/controllers/posts.show # @handler_path: "handlers/controllers/posts" # @handler_method: "show" @handler_path, @handler_method = @handler.split('.') end |