Patch #32308 » block_given.patch
| builders.rb (working copy) | ||
|---|---|---|
| 31 | 31 |
else |
| 32 | 32 |
raise "No builder for format #{format}"
|
| 33 | 33 |
end |
| 34 |
if block |
|
| 34 |
if block_given?
|
|
| 35 | 35 |
block.call(builder) |
| 36 | 36 |
else |
| 37 | 37 |
builder |
- « Previous
- 1
- 2
- Next »