Skip to content

Instantly share code, notes, and snippets.

@zorn
Created May 3, 2011 21:14
Show Gist options
  • Save zorn/954259 to your computer and use it in GitHub Desktop.
Save zorn/954259 to your computer and use it in GitHub Desktop.
Dir.new("ReleaseNotes").each do |filename|
if File.file?("ReleaseNotes/#{filename}") and filename.include? "markdown"
if filename.include? "b" and include_betas == false
# do something
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment