Method: Test::Unit::GCStressOption#setup_options
- Defined in:
- lib/test/unit.rb
#setup_options(parser, options) ⇒ Object
216 217 218 219 220 221 |
# File 'lib/test/unit.rb', line 216 def (parser, ) super parser.on '--[no-]gc-stress', 'Set GC.stress as true' do |flag| [:gc_stress] = flag end end |