method
parse_drb
1.2.0 -
Show latest stable
- Class:
Spec::Runner::OptionParser
parse_drb()protected
No documentation available.
# File lib/spec/runner/option_parser.rb, line 179
def parse_drb
argv = @options.argv
is_drb = false
is_drb ||= argv.delete(OPTIONS[:drb][0])
is_drb ||= argv.delete(OPTIONS[:drb][1])
return false unless is_drb
@options.examples_should_not_be_run
DrbCommandLine.run(
self.class.parse(argv, @error_stream, @out_stream)
)
true
end