Parent

Methods

Included Modules

Class Index [+]

Quicksearch

Webgen::Tag::Date

Prints out the date using a format string which will be passed to Time#strftime. Therefore you can use everything Time#strftime offers.

Public Instance Methods

call(tag, body, context) click to toggle source

Return the current date formatted as specified.

    # File lib/webgen/tag/date.rb, line 12
12:     def call(tag, body, context)
13:       Time.now.strftime(param('tag.date.format'))
14:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.