Method: Chatterbot::Config#load_config
- Defined in:
- lib/chatterbot/config.rb
#load_config(params = {}) ⇒ Object
load in the config from the assortment of places it can be specified.
222 223 224 225 |
# File 'lib/chatterbot/config.rb', line 222 def load_config(params={}) read_only_data = global_config.merge(bot_config).merge(params) @config = Chatterbot::ConfigManager.new(config_file, read_only_data) end |