method

setup_options

ruby latest stable - Class: Test::Unit::LoadPathOption

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

setup_options(parser, options)
public

No documentation available.

# File lib/test/unit.rb, line 207
      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