method
setup_options
v2_1_10 -
Show latest stable
- Class:
Test::Unit::GCStressOption
setup_options(parser, options)public
No documentation available.
# File lib/test/unit.rb, line 216
def setup_options(parser, options)
super
parser.on '--[no-]gc-stress', 'Set GC.stress as true' do |flag|
options[:gc_stress] = flag
end
end