summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'version.c')
-rw-r--r--version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/version.c b/version.c
index 0e21322..28970cd 100644
--- a/version.c
+++ b/version.c
@@ -19,13 +19,14 @@ void
Init_version()
{
rb_define_global_const("VERSION", rb_str_new2(RUBY_VERSION));
+ rb_define_global_const("RELEASE_DATE", rb_str_new2(RUBY_RELEASE_DATE));
rb_define_global_const("PLATFORM", rb_str_new2(RUBY_PLATFORM));
}
void
ruby_show_version()
{
- fprintf(stderr, "ruby %s(%s) [%s]\n", RUBY_VERSION, VERSION_DATE, RUBY_PLATFORM);
+ fprintf(stderr, "ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM);
}
void