[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-glib-env

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2009年 2月 1日 (日) 10:26:26 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-glib-env
-------------------------
@@ -65,9 +65,9 @@
 --- GLib.setenv(env_var_name, new_value)
 
      Sets the  environment variable <env_var_nameto> a new value <new_value>. The environment variable is set only for the current Ruby session. No system settings are effected. For example:
-      home = GLib.getenv("HOME")                      -> "/users/bob
-      ok = GLib.setenv("HOME", "whatever/whereever")  -> true
-      home = GLib.getenv("HOME")                      -> "whatever/whereever"
+      home = GLib.getenv("HOME")                     # -> "/users/bob
+      ok = GLib.setenv("HOME", "whatever/whereever") # -> true
+      home = GLib.getenv("HOME")                     # -> "whatever/whereever"
      * env_var_name: name of the environment variable
      * new_value: new value the environment variable <env_var_nameto> is to be set to.
      * Returns: the value of the environment variable, or nil




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index