Method: Time#to_s
- Defined in:
- lib/source/ruby.rb
#to_s ⇒ Object
call-seq:
time.inspect -> string
time.to_s -> string
Returns a string representing time.
Time.now.to_s #=> "Tue Sep 23 2008 22:10:22 GMT-0400 (EDT)"
6566 6567 6568 |
# File 'lib/source/ruby.rb', line 6566 def to_s `$q(''+this._value)` end |