Sha256: 65b4b6d87b559d3bc6b7f19c5940026d17c3e05e994be7a2ac33f3f8645893d6

Contents?: true

Size: 564 Bytes

Versions: 9

Compression:

Stored size: 564 Bytes

Contents

require 'pathname'

module LintTrap
  module Container
    class Base
      LOCAL_CONFIG_PATH = Pathname.new(File.expand_path('../../../../config', __FILE__))

      def initialize(image, repo_path)
        @image = image
        @repo_path = Pathname.new(repo_path)
      end

      def wrap(_command)
        raise NotImplementedError
      end

      def config_path(_path)
        raise NotImplementedError
      end

      def file_path(_path)
        raise NotImplementedError
      end

    protected

      attr_reader :image, :repo_path
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lint_trap-0.0.11 lib/lint_trap/container/base.rb
lint_trap-0.0.10 lib/lint_trap/container/base.rb
lint_trap-0.0.9 lib/lint_trap/container/base.rb
lint_trap-0.0.8 lib/lint_trap/container/base.rb
lint_trap-0.0.7 lib/lint_trap/container/base.rb
lint_trap-0.0.6 lib/lint_trap/container/base.rb
lint_trap-0.0.5 lib/lint_trap/container/base.rb
lint_trap-0.0.4 lib/lint_trap/container/base.rb
lint_trap-0.0.3 lib/lint_trap/container/base.rb