Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

version.c File Reference

#include "ruby.h"
#include "version.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void Init_version ()
void ruby_show_version ()
void ruby_show_copyright ()

Variables

const char ruby_version [] = RUBY_VERSION
const char ruby_release_date [] = RUBY_RELEASE_DATE
const char ruby_platform [] = RUBY_PLATFORM


Function Documentation

void Init_version void   ) 
 

Definition at line 22 of file version.c.

References rb_define_global_const(), rb_obj_freeze(), rb_str_new2(), ruby_platform, ruby_release_date, ruby_version, and VALUE.

Referenced by rb_call_inits().


Variable Documentation

const char ruby_platform[] = RUBY_PLATFORM
 

Definition at line 19 of file version.c.

const char ruby_release_date[] = RUBY_RELEASE_DATE
 

Definition at line 18 of file version.c.

const char ruby_version[] = RUBY_VERSION
 

Definition at line 17 of file version.c.


Generated on Wed Jan 18 23:32:11 2006 for Ruby by doxygen 1.3.5