tag:blogger.com,1999:blog-20975090.post7791652529395346806..comments2026-02-05T05:43:08.642-06:00Comments on Headius: Can Your Ruby Do This?Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-20975090.post-82066764098878410142007-09-27T16:57:00.000-05:002007-09-27T16:57:00.000-05:00Thanks for the nice post!Thanks for the nice post!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20975090.post-26753112805530034612007-06-12T08:32:00.000-05:002007-06-12T08:32:00.000-05:00now this is really really amazing!now this is really really amazing!Davi Pireshttps://www.blogger.com/profile/10564270754935542096noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-45296967565300781722007-05-05T06:42:00.000-05:002007-05-05T06:42:00.000-05:00You can improve the Groovy example with:println "$...You can improve the Groovy example with:<BR/>println "$x, $y $z"paulk_aserthttps://www.blogger.com/profile/02971774501609601750noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-2217798668892232052007-03-31T10:27:00.000-05:002007-03-31T10:27:00.000-05:00Really nice. But if it could go both ways it would...Really nice. But if it could go both ways it would be awesome.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20975090.post-55053133706893055292007-03-30T19:59:00.000-05:002007-03-30T19:59:00.000-05:00Yep, see the code here.Yep, see <A HREF="http://svn.codehaus.org/jruby/trunk/jruby/samples/scripting.rb" REL="nofollow">the code here</A>.Unknownhttps://www.blogger.com/profile/09683565159634707760noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-35346950173638663822007-03-30T19:55:00.000-05:002007-03-30T19:55:00.000-05:00I assume this is using the Java 6 scripting API?I assume this is using the Java 6 scripting API?Daniel Spiewakhttps://www.blogger.com/profile/17323566514229790079noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-81160847297012436212007-03-30T14:46:00.000-05:002007-03-30T14:46:00.000-05:00The values only go one way, a bit like variables d...The values only go one way, a bit like variables declared in a block are only visible within that block. So you could think of these script sections as being a call to a groovy block or a javascript block.<BR/><BR/>I think it could be possible to have the results come back out into the *same* variables though...hmmm.Charles Oliver Nutterhttps://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-25317281953338746652007-03-30T14:43:00.000-05:002007-03-30T14:43:00.000-05:00Cool! Do values go the other way, too? (e.g. JS t...Cool! Do values go the other way, too? (e.g. JS to JRuby) And what types are supported?Anonymousnoreply@blogger.com