Sha256: 0bdd88b5dfd0715700929933c6a53bd33b0b80adddcc1cab97f7ca3db8556755
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
# frozen_string_literal: true require 'rom/plugins/relation/instrumentation' module ROM module Files module Plugins module Relation # @api private module Instrumentation def self.included(klass) super klass.class_eval do include ROM::Plugins::Relation::Instrumentation # @api private # @param [ROM::Files::Relation] relation def notification_payload(relation) super.merge(**relation.dataset.options) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-files-0.2.0 | lib/rom/files/plugins/relation/instrumentation.rb |