Module: Test::Unit::LoadPathOption
- Included in:
- Runner
- Defined in:
- lib/test/unit.rb
Instance Method Summary collapse
Instance Method Details
#setup_options(parser, options) ⇒ Object
201 202 203 204 205 206 |
# File 'lib/test/unit.rb', line 201 def (parser, ) super parser.on '-Idirectory', 'Add library load path' do |dirs| dirs.split(':').each { |d| $LOAD_PATH.unshift d } end end |