Class: Grit::Commit
- Inherits:
-
Object
- Object
- Grit::Commit
- Defined in:
- lib/babygitter/addendums/commit_addendum.rb
Instance Method Summary collapse
-
#date_time_string ⇒ Object
Convience method for accessing a commits date in printable fashion.
Instance Method Details
#date_time_string ⇒ Object
Convience method for accessing a commits date in printable fashion
6 7 8 |
# File 'lib/babygitter/addendums/commit_addendum.rb', line 6 def date_time_string date.strftime("%b %d %I:%M %p %Y") end |