Sha256: ea09f287f7bafca0f9f349b23d1120f203b0928cb0b1672e7c8de8f5d2d07888

Contents?: true

Size: 539 Bytes

Versions: 8

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

require 'avm/data/package'

module Avm
  module Instances
    module Data
      class Package < ::Avm::Data::Package
        attr_reader :instance

        def initialize(instance, options = {})
          @instance = instance
          super(options)
        end

        # @return [Pathname]
        def data_default_dump_path
          instance.data_default_dump_path.to_pathname
        end

        def load(...)
          instance.on_disabled_processes { super }
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
avm-0.94.1 lib/avm/instances/data/package.rb
eac_tools-0.98.0 sub/avm/lib/avm/instances/data/package.rb
avm-0.94.0 lib/avm/instances/data/package.rb
eac_tools-0.94.0 sub/avm/lib/avm/instances/data/package.rb
avm-0.93.0 lib/avm/instances/data/package.rb
eac_tools-0.92.0 sub/avm/lib/avm/instances/data/package.rb
avm-0.92.0 lib/avm/instances/data/package.rb
eac_tools-0.91.0 sub/avm/lib/avm/instances/data/package.rb