search for: collapsible_frag

Displaying 1 result from an estimated 1 matches for "collapsible_frag".

2006 Feb 07
1
Error undefined method `of_caller'' for Binding:Class
Hi all, I have the following helper method: def collapsible_fragment(collapsed, &block) html = ''<div>'' html << capture(&block) if( block_given? && !collapsed) html << ''</div>'' Binding.of_caller do |binding| concat(html, bind...