lib/cascade/registry.rb in cascade-rb-0.2.3 vs lib/cascade/registry.rb in cascade-rb-0.3.0

- old
+ new

@@ -1,13 +1,16 @@ -require "cascade/error_handler" -require "cascade/row_processor" +# frozen_string_literal: true +require 'cascade/error_handler' +require 'cascade/row_processor' + module Cascade module Registry PUTS_DATA_SAVER = ->(*args) { p args } + SELF_PROCESSOR = ->(row) { row } def self.row_processor - RowProcessor.new + SELF_PROCESSOR end def self.error_handler ErrorHandler.new end