method
parse_drb
1.1.4 -
Show latest stable
- Class:
Spec::Runner::OptionParser
parse_drb(argv = nil)protected
No documentation available.
# File lib/spec/runner/option_parser.rb, line 175
def parse_drb(argv = nil)
argv ||= @options.argv # TODO - see note about about http://rspec.lighthouseapp.com/projects/5645/tickets/293
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