title: Limit Scope to Parent after super() Call
body: <p>I have something that looks like the following:</p>
  
  <pre><code>class A
    def foo
      bar
    end
  
    def bar
      puts "A"
    end
  end
  
  class B &lt; A
    def foo
      super
    end
  
    def bar
      puts "B"
    end
  end
  </code></pre>
  
  <p>The desired output is to be able to call <code>B.new.foo #=&gt; "A"</code>. Is it possible to limit scope to the parent once super is called? This feels kind of wrong to me, so perhaps this is an indicator of a bad design, but I'm curious if this would be possible regardless.</p>