Browse CVS Repository
Contents of /exerb/exerb/example/runtime.rb
Parent Directory
| Revision Log
| Revision Graph
Revision 1.3 -
( show annotations)
( download)
Thu May 5 07:31:57 2005 UTC
(18 years, 11 months ago)
by yuya
Branch: MAIN
CVS Tags: release510, release430, release410, snapshot20060420, snapshot20060531, release400p1, release490, release440, release400, release461, release460, release540, release420, release500, release520, snapshot20060519, release480, release530, ChangeLog, release450, release470, HEAD
Changes since 1.2: +5 -3 lines
* example: Rubyのバージョンと日付も出力するように変更
| 1 |
|
| 2 |
#==============================================================================# |
| 3 |
# $Id: runtime.rb,v 1.2 2005/04/25 16:40:44 yuya Exp $ |
| 4 |
#==============================================================================# |
| 5 |
|
| 6 |
printf("RUBY_VERSION = %s\n", RUBY_VERSION) |
| 7 |
printf("RUBY_RELEASE_DATE = %s\n", RUBY_RELEASE_DATE) |
| 8 |
printf("ExerbRuntime.filepath = %s\n", ExerbRuntime.filepath) if $Exerb |
| 9 |
printf("ExerbRuntime.filename = %s\n", ExerbRuntime.filename) if $Exerb |
| 10 |
|
| 11 |
#==============================================================================# |
| 12 |
#==============================================================================# |
| |