module ViewHelpers
Public Instance Methods
last_updated()
click to toggle source
Returns the current time in month day year hour:minute:second format
@return [String]
# File lib/mako/view_helpers.rb, line 14 def last_updated Time.now.strftime('%d %b %Y %H:%M:%S') end
today()
click to toggle source
Returns today's date in Day, Date Month Year format
@return [String]
# File lib/mako/view_helpers.rb, line 7 def today Time.now.strftime('%A, %d %B %Y') end