summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-20 13:21:55 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-20 13:21:55 +0000
commitffb34cce89c63d43e2ae6a5c3956489fd3c5c4c7 (patch)
tree19b48d195d95fffccb0da5ab39e1896379ecc455 /ext/date
parent2b97ab88e031327b1beaa6b169cd3ec966901067 (diff)
fix typos [ci skip]
* ext/date/date_core.c: [DOC] fix typos. [fix GH-1360] patched by @soundasleep git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/date_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 90377bf..08c58b1 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -5256,7 +5256,7 @@ d_lite_zone(VALUE self)
* 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)
* 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)
* call-seq:
* d.to_date -> self
*
- * Returns self;
+ * Returns self.
*/
static VALUE
date_to_date(VALUE self)