set_spec_from_line_number (Spec::Runner::Options)

    # File lib/spec/runner/options.rb, line 375
          def set_spec_from_line_number
            if examples.empty?
              if files.length == 1
                if File.directory?(files[0])
                  error_stream.puts "You must specify one file, not a directory when providing a line number"
                  exit(1) if stderr?
                else
                  example = LineNumberQuery.new(self).spec_name_for(files[0], line_number)
                  @examples = [example]
                end
              else
                error_stream.puts "Only one file can be specified when providing a line number: #{files.inspect}"
                exit(3) if stderr?
              end
            else
              error_stream.puts "You cannot use --example and specify a line number"
              exit(4) if stderr?
            end
          end