lib/chatterbot/skeleton.rb in chatterbot-2.0.0.pre vs lib/chatterbot/skeleton.rb in chatterbot-2.0.2

- old
+ new

@@ -11,10 +11,10 @@ # def generate(bot) path = File.join(Chatterbot.libdir, "..", "templates", "skeleton.txt") src = File.read(path) - opts = bot.config.merge({ + opts = bot.config.to_h.merge({ :name => bot.botname, :timestamp => Time.now }) puts opts.inspect