module Test::Unit::LoadPathOption

Public Instance Methods

setup_options(parser, options) click to toggle source
Calls superclass method
# File lib/test/unit.rb, line 201
def setup_options(parser, options)
  super
  parser.on '-Idirectory', 'Add library load path' do |dirs|
    dirs.split(':').each { |d| $LOAD_PATH.unshift d }
  end
end