title: Cucumber: How to run the After hook only once after all examples in scenarion_outline
body: <p>I have a scenario_outline which tests login screen of a website. </p>
  
  <pre><code>Scenario_outline:
      Try to login
      Verify login
  
      Examples:
      | User  | Pass   |
      | user1 | pass1  |
      | user2 | pass2  |
  </code></pre>
  
  <p>I want to be able to start the web page at the beginning and close if after all examples are done.</p>
  
  <p>Running the Before hook is easy</p>
  
  <pre><code>Before do
      $start ||= false
      if ! start
          #start web page
          $start = true
      end
  end
  </code></pre>
  
  <p>But how do i run my After hook only once after all scenarios are done?</p>
  
  <pre><code>After do
      #close web page
  end
  </code></pre>
  
  <p>The above example simply closes the web page after the first example and causes the rest to fail. I cannot apply here what i did with the <code>Before</code> hook unfortunately </p>