Skip to content

Instantly share code, notes, and snippets.

@denispeplin
Created March 20, 2013 05:57
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 denispeplin/5202622 to your computer and use it in GitHub Desktop.
Save denispeplin/5202622 to your computer and use it in GitHub Desktop.
require 'ruby-debug'
words = ["akka", "play framework", "sbt", "typesafe"]
tweet = "This is an example tweet talking about scala and sbt."
words.any? do |word|
debugger
tweet.include?(word)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment