lib/jets/core.rb in jets-1.6.7 vs lib/jets/core.rb in jets-1.6.8

- old
+ new

@@ -181,17 +181,9 @@ else Jets::Processors::MainProcessor.new(event, context, handler).run end end - # Example: Jets.handler(self, "handlers/controllers/posts_controller.index") - def handler(lambda_context, handler) - meth = handler.split('.').last - lambda_context.send(:define_method, meth) do |event:, context:| - Jets.process(event, context, handler) - end - end - def once boot override_lambda_ruby_runtime tmp_load! start_rack_server