title: Ruby's 'next' keyword
body: <p>Simple question for the following set of codes: </p>
  
  <pre><code>def nearby_az(string)
    idx1 = 0
    while idx1 &lt; string.length
      if string[idx1] != "a"
        idx1 += 1
        next #&lt;--------------
      end
  
      idx2 = idx1 + 1
      while (idx2 &lt; string.length) &amp;&amp; (idx2 &lt;= idx1 + 3)
        if string[idx2] == "z"
          return true
        end
  
        idx2 += 1
      end
  
      idx1 += 1
    end
  
    return false
  end
  </code></pre>
  
  <p>What does the word "next" do in the line with the commented arrow? And is "next" a method? If not, what's the correct technical jargon for this? Cheers</p>