lib/guard/cucumber/focuser.rb
# Appends the line numbers to the path
#
# @param [Array<Integer>] line_numbers the line numbers to append to
# the path
# @param [String] path the path that will receive the appended line
# numbers
# @return [String] the string containing the path appended with the
# line number
#
Appends the line numbers to the path
Appends the line numbers to the path
def append_line_numbers_to_path(line_numbers, path)
          line_numbers.each { |num| path += ":" + num.to_s }
          path
        end
def append_line_numbers_to_path ( line_numbers , path ) line_numbers . each { | num | path += ":" + num . to_s } path end
Appends the line numbers to the path
Appends the line numbers to the path
the string containing the path appended with the line number
the string containing the path appended with the line number
String
line_numbers
path
path the path that will receive the appended line numbers
path the path that will receive the appended line numbers