Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Pragma-less implicit iterators in mustache.rb

View beatles.mustache
1 2 3 4
The Beatles were:
{{#names}}
* {{to_s}}
{{/names}}
View beatles.mustache
1 2 3 4 5 6
$ mustache examples/self.{yml,mustache}
The Beatles were:
* John
* Paul
* George
* Ringo
View beatles.mustache
1 2 3
---
names: [ John, Paul, George, Ringo ]
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.