class GitCompound::Repository::RemoteFile::RemoteFileStrategy
Base interface for strategies
Public Class Methods
new(source, ref, file)
click to toggle source
# 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
Public Instance Methods
contents()
click to toggle source
# File lib/git_compound/repository/remote_file/remote_file_strategy.rb, line 13 def contents raise NotImplementedError end
exists?()
click to toggle source
# File lib/git_compound/repository/remote_file/remote_file_strategy.rb, line 21 def exists? raise NotImplementedError end
reachable?()
click to toggle source
# File lib/git_compound/repository/remote_file/remote_file_strategy.rb, line 17 def reachable? raise NotImplementedError end