def initialize(&amp;func)