Class: Timetrack::Event Private

Inherits:
Object
  • Object
show all
Defined in:
lib/timetrack/event.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Value object for an event that has its date information

Instance Method Summary collapse

Instance Method Details

#to_sObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



7
8
9
10
# File 'lib/timetrack/event.rb', line 7

def to_s
  "  #{}#{task}  #{TimeFormatter.format self.begin}" \
    "  #{TimeFormatter.format self.end}#{comment_block}"
end