Class: EacGit::Rspec::StubbedGitLocalRepo::FsObject
- Inherits:
-
Object
- Object
- EacGit::Rspec::StubbedGitLocalRepo::FsObject
- Defined in:
- lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb
Instance Attribute Summary collapse
- #git ⇒ Object readonly
- #subpath ⇒ Object readonly
Instance Method Summary collapse
- #initialize(git, subpath) ⇒ Object constructor
- #path ⇒ Pathname
Constructor Details
#initialize(git, subpath) ⇒ Object
18 |
# File 'lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb', line 18 common_constructor :git, :subpath |
Instance Attribute Details
#git ⇒ Object (readonly)
|
# File 'lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb', line 9
|
#subpath ⇒ Object (readonly)
|
# File 'lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb', line 12
|
Instance Method Details
#path ⇒ Pathname
21 22 23 |
# File 'lib/eac_git/rspec/stubbed_git_local_repo/fs_object.rb', line 21 def path git.root_path.join(*subpath) end |