Class: Avm::Scms::Base
- Inherits:
-
Object
show all
- Includes:
- With::ApplicationStereotype
- Defined in:
- lib/avm/scms/base.rb,
lib/avm/scms/base/commits.rb,
lib/avm/scms/base/remotes.rb,
lib/avm/scms/base/branches.rb,
lib/avm/scms/base/milestones.rb
Direct Known Subclasses
Null
Defined Under Namespace
Modules: Branches, Commits, Milestones
Instance Method Summary
collapse
Instance Method Details
16
17
18
|
# File 'lib/avm/scms/base.rb', line 16
def changed_files
raise_abstract_method __method__
end
|
#completer(options = {}) ⇒ Object
21
22
23
|
# File 'lib/avm/scms/base.rb', line 21
def completer(options = {})
raise_abstract_method __method__
end
|
26
27
28
|
# File 'lib/avm/scms/base.rb', line 26
def interval(_from, _to)
raise_abstract_method __method__
end
|
#name ⇒ Object
30
31
32
|
# File 'lib/avm/scms/base.rb', line 30
def name
self.class.name.demodulize
end
|
#relative_path_from_parent_scm ⇒ Pathname
35
36
37
38
39
|
# File 'lib/avm/scms/base.rb', line 35
def relative_path_from_parent_scm
parent_scm.if_present(nil) do |v|
path.relative_path_from(v.path)
end
end
|
42
43
44
|
# File 'lib/avm/scms/base.rb', line 42
def subs
raise_abstract_method __method__
end
|
#to_s ⇒ Object
46
47
48
|
# File 'lib/avm/scms/base.rb', line 46
def to_s
name
end
|