Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tmpl = Liquid::Template.parse("I've just liked @{{idea_owner}} idea on Rusic at {{link}}")
tmpl.root.nodelist
=> ["I've just liked @", #<Liquid::Variable:0x10301f050 @filters=[], @name="idea_owner", @markup="idea_owner">, " idea on Rusic at ", #<Liquid::Variable:0x10301ed80 @filters=[], @name="link", @markup="link">]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment