Sha256: 27769022f6d850f80b393aac1b45191947b816df6c57c79e3c2f2ea8e8072a22

Contents?: true

Size: 613 Bytes

Versions: 5

Compression:

Stored size: 613 Bytes

Contents

# frozen_string_literal: true

require 'avm/instances/runner'
require 'eac_cli/core_ext'

module Avm
  module Tools
    class Runner
      class Instance < ::Avm::Instances::Runner
        class Data
          class Unit
            class Load
              runner_with :help do
                pos_arg :dump_path
              end

              def run
                data_owner.load(dump_path)
              end

              # @return [Pathname]
              def dump_path
                parsed.dump_path.to_pathname
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
avm-tools-0.150.0 lib/avm/tools/runner/instance/data/unit/load.rb
eac_tools-0.68.0 sub/avm-tools/lib/avm/tools/runner/instance/data/unit/load.rb
eac_tools-0.67.1 sub/avm-tools/lib/avm/tools/runner/instance/data/unit/load.rb
avm-tools-0.149.0 lib/avm/tools/runner/instance/data/unit/load.rb
eac_tools-0.67.0 sub/avm-tools/lib/avm/tools/runner/instance/data/unit/load.rb