>>>>> "d" == daniel  <student_vienna / aon.at> writes:

d> But in my thread which is listen on ``com1´´, rb_block_given_p
d> says that no block is given.
d> How to ``redirect´´ the block in the init function?

 Well I've not understood : do you want to do something like this ?

   class RubyVSCL
      def rPAInit
         @block = Proc.new
      end

      def on_event(a)
         @block[a]
      end
   end


Guy Decoux