# File lib/rcodetools/options.rb, line 106
106: defcheck_opts(options)
107: ifoptions[:test_script]
108: unlessoptions[:filename]
109: $stderr.puts"You must specify --filename as well as -t(--test)."
110: exit1
111: end
112: end
113: end
set_extra_opts(options)click to toggle source
# File lib/rcodetools/options.rb, line 97
97: defset_extra_opts(options)
98: ifidx = ARGV.index("--")
99: options[:options] = ARGV[idx+1..1]
100: ARGV.replaceARGV[0...idx]
101: else
102: options[:options] = []
103: end
104: end