Class: GitCompound::Repository::RemoteFile::RemoteFileStrategy
- Inherits:
-
Object
- Object
- GitCompound::Repository::RemoteFile::RemoteFileStrategy
show all
- Defined in:
- lib/git_compound/repository/remote_file/remote_file_strategy.rb
Overview
Base interface for strategies
Instance Method Summary
collapse
Constructor Details
Returns a new instance of RemoteFileStrategy.
7
8
9
10
11
|
# File 'lib/git_compound/repository/remote_file/remote_file_strategy.rb', line 7
def initialize(source, ref, file)
@source = source
@ref = ref
@file = file
end
|
Instance Method Details
#contents ⇒ Object
13
14
15
|
# File 'lib/git_compound/repository/remote_file/remote_file_strategy.rb', line 13
def contents
raise NotImplementedError
end
|
#exists? ⇒ Boolean
21
22
23
|
# File 'lib/git_compound/repository/remote_file/remote_file_strategy.rb', line 21
def exists?
raise NotImplementedError
end
|
#reachable? ⇒ Boolean
17
18
19
|
# File 'lib/git_compound/repository/remote_file/remote_file_strategy.rb', line 17
def reachable?
raise NotImplementedError
end
|