capture_erb won't pass arguments to block (with fix goodness)
Reported by Carl Lerche | July 4th, 2008 @ 11:02 AM | in 0.9.4
Sup ya'll?
I noticed that capture_erb has been refactored. Great stuff! But then, I noticed that my existing code broke and I was sad.
capture_erb takes an arbitrary number of arguments which it should pass on to the block that is to be captured. But, it currently doesn't do this (it used to).
I added the quick fix and a spec so that it won't happen again! YAY specs!
later...
Comments and changes to this ticket
-
Michael Klishin (antares) July 16th, 2008 @ 09:48 PM
- → Milestone changed from to 0.9.4
- → State changed from new to open
Carl,
This does not apply cleanly to HEAD, is this still an issue?
-
Carl Lerche July 16th, 2008 @ 10:18 PM
At first glance it is still an issue. I will check why the patch won't apply anymore and report back.
-
Yehuda Katz (wycats) July 20th, 2008 @ 05:48 AM
- → State changed from open to resolved
(from [509851b02f2bcb7936f3a122b499e69253280ce5]) Add support for argument capture and fix $DEBUG bootloader stuff [#390 state:resolved]
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
