Class: DateTime

Inherits:
Object show all
Defined in:
lib/jinx/helpers/pretty_print.rb

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ String

Returns the formatted strftime.

Returns:

  • (String)

    the formatted strftime



186
187
188
# File 'lib/jinx/helpers/pretty_print.rb', line 186

def pretty_print(q)
  q.text(strftime)
end