views:

51

answers:

0

Im using like this:

    def child_render
        super_render {
   print GridModule.new.render
   }
 end

    def super_render
        @yield_value = yield
 end

and got: Cannot yield from a Proc type filter. The Proc must take two arguments and execute #call on the second argument.