github.rb
def outstanding_checkboxes?(checklist)
    checkbox_count = checklist.scan(/(- \[ \]|- \[x\])/m).count
    checked_checkbox_count = checklist.scan(/(- \[x\])/m).count
    if checkbox_count > checked_checkbox_count
      return true
    else
      return false
    end
  end
# Take a section of a review issue (presumably with a checklist) and see
# if there are unchecked checkboxes.
Take a section of a review issue (presumably with a checklist) and see
if there are unchecked checkboxes.
Take a section of a review issue ( presumably with a checklist ) and see if there are unchecked checkboxes .
def outstanding_checkboxes?(checklist)
    checkbox_count = checklist.scan(/(- \[ \]|- \[x\])/m).count
    checked_checkbox_count = checklist.scan(/(- \[x\])/m).count
    if checkbox_count > checked_checkbox_count
      return true
    else
      return false
    end
  end
def outstanding_checkboxes? ( checklist ) checkbox_count = checklist . scan ( / (-  \[ \] |-  \[ x \] ) /m ) . count checked_checkbox_count = checklist . scan ( / (-  \[ x \] ) /m ) . count if checkbox_count > checked_checkbox_count return true else return false end end
Take a section of a review issue (presumably with a checklist) and see
if there are unchecked checkboxes.
Take a section of a review issue ( presumably with a checklist ) and see if there are unchecked checkboxes .
checklist