Project

General

Profile

Patch #32308 » block_given.patch

Pavel Rosický, 2019-10-21 13:35

View differences:

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
(2-2/2)