Skip to content

Instantly share code, notes, and snippets.

@benaskins
Forked from lachlanhardy/gist:76696
Created March 10, 2009 03:26
Show Gist options
  • Save benaskins/76702 to your computer and use it in GitHub Desktop.
Save benaskins/76702 to your computer and use it in GitHub Desktop.
- @items.collect { |item| item.split("/").last.split(".").first }.each do |name|
- unless name == "index" || name.match(/hide-.+/)
%p do some stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment