aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 11:34:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-22 11:34:05 +0000
commited3c3aa83ce0e29b735d238b9b995431dd84c226 (patch)
tree851ed10c739dda7c3fa8b5cb99e7974f925313ec /time.c
parent9e2a4954484cc83a29fbde29319313cfb4ad1504 (diff)
downloadruby-ed3c3aa83ce0e29b735d238b9b995431dd84c226.tar.gz
time.c: add example [ci skip]
* time.c (time_asctime): [DOC] add ctime example, not only asctime. [ruby-core:75126] [Bug #12310] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time.c b/time.c
index 111b71e203..336d7c26a8 100644
--- a/time.c
+++ b/time.c
@@ -3547,6 +3547,7 @@ static VALUE strftime_cstr(const char *fmt, size_t len, VALUE time, rb_encoding
* Returns a canonical string representation of _time_.
*
* Time.now.asctime #=> "Wed Apr 9 08:56:03 2003"
+ * Time.now.ctime #=> "Wed Apr 9 08:56:03 2003"
*/
static VALUE