2008年5月24日 星期六

global variable

start with $

built-in global variables:
$: the directories that make up the path Ruby searches for external file

$0: name of the file Ruby is executing

$$: process id of Ruby process
ps:  use English.rb to replace these built-in global variables with meaningful names

沒有留言: