examples/class_bot.rb in chatterbot-1.0.2 vs examples/class_bot.rb in chatterbot-2.0.0.pre
- old
+ new
@@ -1,9 +1,8 @@
#!/usr/bin/env ruby
require 'chatterbot'
-
x = Chatterbot::Bot.new
x.search("foo") do |tweet|
puts tweet.inspect
end
- old
+ new