lib/appium_doc_lint/lint/base.rb
# Record a warning on a zero indexed line number
#
# @param line_number [int] line number to warn on
# @return [warnings]
Record a warning on a zero indexed line number
Record a warning on a zero indexed line number
def warn line_number, extra=nil
        message = extra ? fail + ' ' + extra : fail
        warnings[line_number + 1] += [message]
        warnings
      end
def warn line_number , extra = nil message = extra ? fail + ' ' + extra : fail warnings [ line_number + 1 ] += [ message ] warnings end
Record a warning on a zero indexed line number
Record a warning on a zero indexed line number
None
warnings
line_number
line number to warn on
line number to warn on
extra
<not_specific>