Skip to content

Instantly share code, notes, and snippets.

@cnaude
Created June 25, 2018 15:42
Show Gist options
  • Save cnaude/af3914f949ec1669d9a2004e6b60e36a to your computer and use it in GitHub Desktop.
Save cnaude/af3914f949ec1669d9a2004e6b60e36a to your computer and use it in GitHub Desktop.
example erb hash uiterate
Hello world.
<% node['attrname'].each |key,val| do -%>
KEY: <%= key %>
VAL: <%= val %>
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment