method
parse_options_file
1.1.4 -
Show latest stable
- Class:
Spec::Runner::OptionParser
parse_options_file(options_file)protected
No documentation available.
# File lib/spec/runner/option_parser.rb, line 139
def parse_options_file(options_file)
option_file_args = IO.readlines(options_file).map {|l| l.chomp.split " "}.flatten
@argv.push(*option_file_args)
# TODO - this is a brute force solution to http://rspec.lighthouseapp.com/projects/5645/tickets/293.
# Let's look for a cleaner way. Might not be one. But let's look. If not, perhaps
# this can be moved to a different method to indicate the special handling for drb?
parse_drb(@argv)
end