tag:blogger.com,1999:blog-5221465892382713395.post740123012329617679..comments2024-03-25T02:41:27.603-07:00Comments on The Software Simpleton: Creating dynamic methods with closures in RubyPaul Cowanhttp://www.blogger.com/profile/11492473992478172640noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5221465892382713395.post-31030299672444080652012-04-15T18:51:14.353-07:002012-04-15T18:51:14.353-07:00Perfect. I was looking for something with this ki...Perfect. I was looking for something with this kind of power in Ruby, and I struggled through the various closure-like mechanisms in Ruby, but this works.<br /><br />Funny how easily I did this in Java:<br /><br />new MyAbstractClass() {<br />public void call() {<br />ContainingClass.this.foo();<br />}<br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5221465892382713395.post-42903939420699299052010-11-22T01:52:41.617-08:002010-11-22T01:52:41.617-08:00Like it. Custom regex method in xslt. So much more...Like it. Custom regex method in xslt. So much more versatile than wrestling with mad xpath functions http://is.gd/hzXdZGeorgehttps://www.blogger.com/profile/08693501853593478414noreply@blogger.com