Object
Prints out the date using a format string which will be passed to Time#strftime. Therefore you can use everything Time#strftime offers.
Return the current date formatted as specified.
# File lib/webgen/tag/date.rb, line 11 def call(tag, body, context) Time.now.strftime(param('tag.date.format')) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.