Skip to content
Quick hack to demonstrate mustache.java working in jruby
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
compiler-0.7.3-20120414.183932-4.jar
example.rb
guava-11.0.jar
jsr305-1.3.9.jar

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.