有-结束xxx可缩进="有-结束xxx可缩进" xxx="xxx"><<-xxx> Debug
ruby –r debug t.rb
14
ruby t.rb 1 2 3 # $0 代表文件名 ARGV 是参数的数组 ruby -e ‘puts $:‘ # laod path ,-I 添加目录,RUBYLIB 同样,不过要setuid权限 require ‘rbconfig‘ include Config CONFIG[‘host‘] CONFIG[‘libdir‘]programming ruby
原文:http://www.cnblogs.com/anjuncc/p/5490356.html