Skip to content
Quick hack to demonstrate mustache.java working in jruby
Ruby
Find file
Latest commit 6ca133b Apr 16, 2012 @tomafro Initial commit
Failed to load latest commit information.
README Initial commit Apr 16, 2012
compiler-0.7.3-20120414.183932-4.jar
example.rb Initial commit Apr 16, 2012
guava-11.0.jar Initial commit Apr 16, 2012
jsr305-1.3.9.jar Initial commit Apr 16, 2012

README

Very basic hack to get mustache.java working using jruby, for Dan Webb.

To run the code, with jruby run:

    jruby example.rb

There are two examples.  The first uses a java.io.StringWriter to collect the rendered template, while the second uses a ruby subclass of java.io.Writer, as a proof of concept showing such a thing is possible.
Something went wrong with that request. Please try again.