examples/dsl_test.rb in chatterbot-0.2.1 vs examples/dsl_test.rb in chatterbot-0.2.2
- old
+ new
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
require 'chatterbot/dsl'
-exclude ["foo", "bar"]
-search("foo") do |tweet|
-# # reply "@#{tweet['from_user']} I am serious, and don't call me Shirley!", tweet
+exclude ["bar"]
+search("foo", :lang => "en") do |tweet|
puts tweet.inspect
end