Object
Convert the Date to a lexicographically sortable string with the required precision. The format used is %Y%m%d
precision | the precision required in the string version of the date. The options are :year, :month and :day |
return | a lexicographically sortable string representing the date |
# File lib/ferret/number_tools.rb, line 72 72: def to_s_lex(precision = :day) 73: self.strftime(Time::LEX_FORMAT[precision]) 74: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.