Skip to content

Instantly share code, notes, and snippets.

@jmettraux

jmettraux/t.rb Secret

Created July 20, 2013 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmettraux/b1a5a2642106e410f34f to your computer and use it in GitHub Desktop.
Save jmettraux/b1a5a2642106e410f34f to your computer and use it in GitHub Desktop.
Ruote.define do
citerator :on => %w[ a b c ], :to_var => 'v' do
participant '${v:v}', :pre => true
participant '${v:v}'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment