From 881c5a9c320c637ee0f6526b40cf70c1379ab656 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Fri, 24 Feb 1995 13:15:43 +0900 Subject: version 0.68 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.67-0.68.diff.gz Fri Feb 24 13:15:43 1995 Yukihiro Matsumoto (matz@ix-02) * version 0.68 Thu Feb 23 11:19:19 1995 Yukihiro Matsumoto (matz@ix-02) * eval.c: resque節のselfの値が間違っていた. * eval.c(rb_clear_cache): キャッシュのクリアし忘れがあった. * eval.c: 定数のスコープをクラス内の静的スコープに変更した.これに よって,特異メソッドからは参照される定数は,レシーバのクラスでは なく,定義されたスコープのクラスの定数となる. Wed Feb 22 00:51:38 1995 Yukihiro Matsumoto (matz@dyna) * regex.c: ignorecaseを正規表現のコンパイル前に指定しないと正しく 動作しない.修正. * string.c(toupper,tolower): bug fix. * ENV,VERSION: readonly変数から定数へ. --- sample/io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/io.rb') diff --git a/sample/io.rb b/sample/io.rb index c3c1a47b28..c12e4f4498 100644 --- a/sample/io.rb +++ b/sample/io.rb @@ -1,7 +1,7 @@ # IO test # usage: ruby io.rb file.. -home = getenv("HOME") +home = ENV["HOME"] home.sub("m", "&&") print(home, "\n") print(home.reverse, "\n") -- cgit v1.2.3