method
examples_to_run
examples_to_run(run_options)
private
Hide source
# File lib/spec/example/example_group_methods.rb, line 233 def examples_to_run(run_options) return example_proxies unless examples_were_specified?(run_options) if run_options.line_number_requested? if location =~ /:#{run_options.example_line}:?/ example_proxies else example_proxies.select {|proxy| proxy.location =~ /:#{run_options.example_line}:?/} end else example_proxies.reject do |proxy| matcher = ExampleGroupMethods.matcher_class. new(description.to_s, proxy.description) !matcher.matches?(run_options.examples) end end end