Class: Grit::Commit

Inherits:
Object
  • Object
show all
Defined in:
lib/babygitter/addendums/commit_addendum.rb

Instance Method Summary collapse

Instance Method Details

#date_time_stringObject

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