Class: GitScf::Logger
- Inherits:
-
Object
- Object
- GitScf::Logger
- Defined in:
- lib/git_scf/logger.rb
Constant Summary collapse
- LOG_PATH =
'.gitscf'
Instance Method Summary collapse
- #add(string) ⇒ Object
-
#initialize(ticket) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
Instance Method Details
#add(string) ⇒ Object
11 12 13 |
# File 'lib/git_scf/logger.rb', line 11 def add(string) `echo '#{string} #{`date`}' >> #{log_file}` end |