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

ruby-changes:43009

From: kazu <ko1@a...>
Date: Fri, 20 May 2016 22:21:58 +0900 (JST)
Subject: [ruby-changes:43009] kazu:r55083 (trunk): fix typos [ci skip]

kazu	2016-05-20 22:21:55 +0900 (Fri, 20 May 2016)

  New Revision: 55083

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55083

  Log:
    fix typos [ci skip]
    
    * ext/date/date_core.c: [DOC] fix typos.
      [fix GH-1360] patched by @soundasleep

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_core.c
Index: ext/date/date_core.c
===================================================================
--- ext/date/date_core.c	(revision 55082)
+++ ext/date/date_core.c	(revision 55083)
@@ -5256,7 +5256,7 @@ d_lite_zone(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L5256
  * call-seq:
  *    d.julian?  ->  bool
  *
- * Retruns true if the date is before the day of calendar reform.
+ * Returns true if the date is before the day of calendar reform.
  *
  *     Date.new(1582,10,15).julian?		#=> false
  *     (Date.new(1582,10,15) - 1).julian?	#=> true
@@ -5272,7 +5272,7 @@ d_lite_julian_p(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L5272
  * call-seq:
  *    d.gregorian?  ->  bool
  *
- * Retunrs true if the date is on or after the day of calendar reform.
+ * Returns true if the date is on or after the day of calendar reform.
  *
  *     Date.new(1582,10,15).gregorian?		#=> true
  *     (Date.new(1582,10,15) - 1).gregorian?	#=> false
@@ -8503,7 +8503,7 @@ date_to_time(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L8503
  * call-seq:
  *    d.to_date  ->  self
  *
- * Returns self;
+ * Returns self.
  */
 static VALUE
 date_to_date(VALUE self)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55082)
+++ ChangeLog	(revision 55083)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri May 20 22:19:00 2016  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* ext/date/date_core.c: [DOC] fix typos.
+	  [fix GH-1360] patched by @soundasleep
+
 Fri May 20 21:26:58 2016  Naohisa Goto  <ngotogenome@g...>
 
 	* include/ruby/defines.h (RB_GNUC_EXTENSION, RB_GNUC_EXTENSION_BLOCK):

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

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