Parent

Methods

Class Index [+]

Quicksearch

Date

Public Instance Methods

to_args() click to toggle source

Stringify date and split by ’-’.

    date = Date.new(2009,6,9)
    date.to_s     # => 2009-06-09
    date.to_args  # => [ "2009", "06", "09" ]
    # File lib/postage/extensions.rb, line 33
33:   def to_args
34:     to_s.split('-')
35:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.