Sha256: bef5fc9ed22b99503586193a02b4b6a4decde65a06ad5f5262ead6e4cdc5c005

Contents?: true

Size: 650 Bytes

Versions: 7

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module EacGit
  module Rspec
    module StubbedGitLocalRepo
      class FsObject
        # @!attribute [r] git
        #   @param git [EacGit::Rspec::StubbedGitLocalRepo::Repository]

        # @!attribute [r] subpath
        #   @param git [Array<String>]

        # @!method initialize(git, subpath)
        #   @param git [EacGit::Rspec::StubbedGitLocalRepo::Repository]
        #   @param subpath [Array<String>
        common_constructor :git, :subpath

        # @return [Pathname]
        def path
          git.root_path.join(*subpath)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
eac_tools-0.86.5 sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
eac_tools-0.86.4 sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
eac_tools-0.86.3 sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
eac_git-0.16.0 lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
eac_tools-0.86.2 sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
eac_git-0.15.0 lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
eac_tools-0.84.2 sub/eac_git/lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb