Call Ri for any editors!!
by rubikitch <rubikitch@ruby-lang.org>
# File lib/rcodetools/options.rb, line 106 def check_opts(options) if options[:test_script] unless options[:filename] $stderr.puts "You must specify --filename as well as -t(--test)." exit 1 end end end
# File lib/rcodetools/options.rb, line 97 def set_extra_opts(options) if idx = ARGV.index("--") options[:options] = ARGV[idx+1..-1] ARGV.replace ARGV[0...idx] else options[:options] = [] end end