Add #capture helper to capture block in ERB