class Minitest::Bisect::PathExpander
Attributes
rb_flags[RW]
Public Instance Methods
process_flags(flags)
click to toggle source
Overrides PathExpander#process_flags
to filter out ruby flags from minitest flags. Only supports -I<paths>, -d, and -w for ruby.
# File lib/minitest/bisect.rb, line 25 def process_flags flags flags.reject { |flag| # all hits are truthy, so this works out well case flag when /^-I(.*)/ then rb_flags << flag when /^-d/ then rb_flags << flag when /^-w/ then rb_flags << flag else false end } end