mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix typo in Time#inspect
This commit is contained in:
parent
f3067deb88
commit
ceba5b7088
1 changed files with 2 additions and 2 deletions
4
time.c
4
time.c
|
@ -4091,8 +4091,8 @@ time_to_s(VALUE time)
|
|||
* call-seq:
|
||||
* time.inspect -> string
|
||||
*
|
||||
* Returns a detailed string representing _time_. Inlike to_s, preserves
|
||||
* nanoseconds in representation for easier debugging.
|
||||
* Returns a detailed string representing _time_. Unlike to_s,
|
||||
* preserves nanoseconds in the representation for easier debugging.
|
||||
*
|
||||
* t = Time.now
|
||||
* t.inspect #=> "2012-11-10 18:16:12.261257655 +0100"
|
||||
|
|
Loading…
Add table
Reference in a new issue