Sha256: 0f2739e2f45ad31df94fa2792208502fa48a605cb7ef36ca99b58f05c43901dc

Contents?: true

Size: 611 Bytes

Versions: 3

Compression:

Stored size: 611 Bytes

Contents

# frozen_string_literal: true

require 'avm/data/clearer'
require 'eac_cli/core_ext'
require 'eac_cli/runner'

module Avm
  module Tools
    module RunnerWith
      module InstanceDataClear
        common_concern do
          enable_simple_cache
          include ::EacCli::Runner
        end

        def run
          performer.perform
        end

        private

        def performer_uncached
          %i[include exclude].inject(::Avm::Data::Clearer.new(data_owner)) do |a1, e1|
            if_respond(e1, []).inject(a1) { |a2, e2| a2.send(e1, e2) }
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
eac_tools-0.67.1 sub/avm-tools/lib/avm/tools/runner_with/instance_data_clear.rb
avm-tools-0.149.0 lib/avm/tools/runner_with/instance_data_clear.rb
eac_tools-0.67.0 sub/avm-tools/lib/avm/tools/runner_with/instance_data_clear.rb