Class: Pechkin::ConfigurationLoaderBots

Inherits:
Object
  • Object
show all
Includes:
ConfigurationLoader
Defined in:
lib/pechkin/configuration/configuration_loader_bots.rb

Overview

Configuration loader for bot descriptions

Instance Method Summary collapse

Methods included from ConfigurationLoader

#check_field, #create_connector, #yaml_load

Instance Method Details

#load_from_directory(working_directory) ⇒ Object



6
7
8
9
10
11
# File 'lib/pechkin/configuration/configuration_loader_bots.rb', line 6

def load_from_directory(working_directory)
  bots = {}
  load_bots_configuration(working_directory, bots)

  bots
end