[前][次][番号順一覧][スレッド一覧]

ruby-changes:59460

From: Marcus <ko1@a...>
Date: Wed, 25 Dec 2019 05:51:55 +0900 (JST)
Subject: [ruby-changes:59460] ceba5b7088 (master): [DOC] Fix typo in Time#inspect

https://git.ruby-lang.org/ruby.git/commit/?id=ceba5b7088

From ceba5b70889666b82b80910a441cf4a92b5c7160 Mon Sep 17 00:00:00 2001
From: Marcus Stollsteimer <sto.mar@w...>
Date: Tue, 24 Dec 2019 21:50:27 +0100
Subject: [DOC] Fix typo in Time#inspect


diff --git a/time.c b/time.c
index 8c5422d..d71d43e 100644
--- a/time.c
+++ b/time.c
@@ -4091,8 +4091,8 @@ time_to_s(VALUE time) https://github.com/ruby/ruby/blob/trunk/time.c#L4091
  *  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"
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]