Sha256: 28edfaeff2a96e191f1c2d971aeeab2439d54c9f8c5162543db110969a2d6b07

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module Clowne
  class Resolvers
    module Finalize # :nodoc: all
      def self.call(source, record, declaration, params:, **_options)
        declaration.block.call(source, record, params)
        record
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clowne-1.2.0 lib/clowne/resolvers/finalize.rb
clowne-1.1.0 lib/clowne/resolvers/finalize.rb
clowne-1.0.0 lib/clowne/resolvers/finalize.rb