lib/chatterbot.rb in chatterbot-0.7.1 vs lib/chatterbot.rb in chatterbot-0.9.0

- old
+ new

@@ -26,10 +26,12 @@ end # # the big kahuna! module Chatterbot + @@from_helper = false + # # load in our assorted modules def self.load require "chatterbot/config" require "chatterbot/db" @@ -38,16 +40,29 @@ require "chatterbot/ui" require "chatterbot/client" require "chatterbot/search" require "chatterbot/tweet" require "chatterbot/retweet" + require "chatterbot/favorite" + require "chatterbot/profile" require "chatterbot/reply" + require "chatterbot/streaming" + require "chatterbot/streaming_handler" require "chatterbot/followers" - require "chatterbot/helpers" + require "chatterbot/helpers" + require "chatterbot/utils" require "chatterbot/bot" end + def self.from_helper=(x) + @@from_helper = x + end + + def self.from_helper + @@from_helper + end + require 'chatterbot/version' # Return a directory with the project libraries. def self.libdir t = [File.expand_path(File.dirname(__FILE__)), "#{Gem.dir}/gems/chatterbot-#{Chatterbot::VERSION}"]