title: Coffeescript Access Function
body: <p>I'm new to coffeescript and had a question about accessing functions.  </p>
  
  <p>Given the code below how would I access the checkType function from within the constructor's for loop?  </p>
  
  <pre><code>class ApplicationForm.Save
    constructor: (@formItems) -&gt;
      @that = this
      for item in @formItems
        do -&gt;
          checkType(item)
  
     checkType: (forItem) -&gt;
       console.log(@formItem.find("input").length)
  </code></pre>