Sha256: e9dfdc4cfb8fe94cc5081391aa9042e8fe0b69e16b76c0db2639feb220e6f588
Contents?: true
Size: 618 Bytes
Versions: 65
Compression:
Stored size: 618 Bytes
Contents
# frozen_string_literal: true require 'avm/data/performer' require 'avm/data/rotate' require 'eac_ruby_utils/core_ext' require 'eac_ruby_utils/fs/temp' module Avm module Data class Loader < ::Avm::Data::Performer immutable_accessor :source_path # @return [String, nil] def cannot_perform_reason return 'Source path not set' if source_path.blank? return "\"#{source_path}\" is not a file" unless source_path.file? nil end protected def internal_perform data_owner.load(source_path, *include_excludes_arguments) end end end end
Version data entries
65 entries across 65 versions & 2 rubygems