From: "Iñaki Baz Castillo" Date: 2012-06-12T07:51:05+09:00 Subject: [C exten] is it possible to create a Proc from C? Hi, I would like to implement the following Ruby code in C code (it's a simplification): ------------------------------ def self.method1 method2 { method3 } end ----------------------------- or: ------------------------------ def self.method1 method2(my_proc) end # where my_proc is a Proc with value: # { method3 } ----------------------------- I see no way in process.c (Ruby 1.9.3), nor in other files of Ruby sources. Is there any way? Thanks a lot. -- Iñaki Baz Castillo