ã¯ã©ã¹ã®ç¶æ¿ãªã¹ã: ARGF è¦ç´ ã¹ã¯ãªããã«æå®ããå¼æ° (Object::ARGV ãåç §) ããã¡ã¤ã«åã¨ã¿ãªãã¦ã ãããã®ãã¡ã¤ã«ãé£çµãã 1 ã¤ã®ä»®æ³ãã¡ã¤ã«ã表ããªãã¸ã§ã¯ãã§ãã ARGV ã空ãªãæ¨æºå ¥åã対象ã¨ãã¾ãã ARGV ãå¤æ´ããã°ãã®ãªãã¸ã§ã¯ãã®åä½ã«å½±é¿ãã¾ãã while line = ARGF.gets .... end ã¯ã while argv = ARGV.shift File.open(argv) {|file| while line = file.gets .... end } end ã®ããã«åä½ãã¾ãã ARGF ãå¦çãããã¨ã« ARGV ã®è¦ç´ ã¯ä¸ã¤ãã¤åãé¤ããã¾ãã æå¾ã¾ã§ ARGF ãèªã¿è¾¼ãã å¾ãå度 ARGF ããå 容ãèªã㨠(ARGV ã空ãªã®ã§)æ¨æºå ¥åããã®èªã¿è¾¼ã¿ã¨ãªãã¾ãã ARGV.replace %
{{#tags}}- {{label}}
{{/tags}}