Files

Rcodetools

Call Ri for any editors!!

 by rubikitch <rubikitch@ruby-lang.org>

Constants

DEFAULT_OPTIONS
FLOAT_TOLERANCE

Public Instance Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.