Class: SourceControl::CVS

Inherits:
Base
  • Object
show all
Defined in:
lib/source_control/cvs.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#get_remote_info, #initialize, #shell

Constructor Details

This class inherits a constructor from SourceControl::Base

Class Method Details

.covers?(path) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/source_control/cvs.rb', line 6

def self.covers?(path)
  File.exist? path + '/CVS'
end

Instance Method Details

#commandObject



4
# File 'lib/source_control/cvs.rb', line 4

def command; 'cvs' end