method

inspect

v1_8_7_72 - Show latest stable - Class: Time
inspect()
public

Returns a string representing time. Equivalent to calling Time#strftime with a format string of ``%a %b %d %H:%M:%S %Z %Y''.

   Time.now.to_s   #=> "Wed Apr 09 08:56:04 CDT 2003"