Class: Rubbr::Scm::Base
Direct Known Subclasses
Instance Attribute Summary collapse
-
#date ⇒ Object
The revision and date of the tip/head/latest changeset.
-
#executable ⇒ Object
The Mercurial executable.
-
#name ⇒ Object
The name of the SCM system.
-
#revision ⇒ Object
The revision and date of the tip/head/latest changeset.
Instance Method Summary collapse
Methods included from Cli
#color?, #disable_stderr, #disable_stdinn, #disable_stdout, #error, #executable?, #notice, #valid_executable, #warning
Instance Attribute Details
#date ⇒ Object
The revision and date of the tip/head/latest changeset.
17 18 19 |
# File 'lib/rubbr/scm.rb', line 17 def date @date end |
#executable ⇒ Object
The Mercurial executable.
14 15 16 |
# File 'lib/rubbr/scm.rb', line 14 def executable @executable end |
#name ⇒ Object
The name of the SCM system.
11 12 13 |
# File 'lib/rubbr/scm.rb', line 11 def name @name end |
#revision ⇒ Object
The revision and date of the tip/head/latest changeset.
17 18 19 |
# File 'lib/rubbr/scm.rb', line 17 def revision @revision end |
Instance Method Details
#collect_scm_stats ⇒ Object
19 20 21 22 23 |
# File 'lib/rubbr/scm.rb', line 19 def collect_scm_stats { :name => @name, :revision => @revision, :date => @date } end |