Class: Dragnet::BaseRepository
- Inherits:
-
Object
- Object
- Dragnet::BaseRepository
show all
- Defined in:
- lib/dragnet/base_repository.rb
Overview
Base class for Dragnet's repository classes.
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of BaseRepository.
11
12
13
|
# File 'lib/dragnet/base_repository.rb', line 11
def initialize(path:)
@path = path
end
|
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
8
9
10
|
# File 'lib/dragnet/base_repository.rb', line 8
def path
@path
end
|
Instance Method Details
#branch ⇒ Object
21
22
23
|
# File 'lib/dragnet/base_repository.rb', line 21
def branch
incompatible_repository(__method__)
end
|
#branches ⇒ Object
26
27
28
|
# File 'lib/dragnet/base_repository.rb', line 26
def branches
incompatible_repository(__method__)
end
|
#branches_with(_commit) ⇒ Object
51
52
53
|
# File 'lib/dragnet/base_repository.rb', line 51
def branches_with(_commit)
incompatible_repository(__method__)
end
|
#branches_with_head ⇒ Object
56
57
58
|
# File 'lib/dragnet/base_repository.rb', line 56
def branches_with_head
incompatible_repository(__method__)
end
|
#diff ⇒ Object
31
32
33
|
# File 'lib/dragnet/base_repository.rb', line 31
def diff
incompatible_repository(__method__)
end
|
#git ⇒ Object
16
17
18
|
# File 'lib/dragnet/base_repository.rb', line 16
def git
incompatible_repository(__method__)
end
|
#head ⇒ Object
36
37
38
|
# File 'lib/dragnet/base_repository.rb', line 36
def head
incompatible_repository(__method__)
end
|
#remote_uri_path ⇒ Object
41
42
43
|
# File 'lib/dragnet/base_repository.rb', line 41
def remote_uri_path
incompatible_repository(__method__)
end
|
#repositories ⇒ Object
46
47
48
|
# File 'lib/dragnet/base_repository.rb', line 46
def repositories
incompatible_repository(__method__)
end
|