Method: Bipbip::Agent#initialize
- Defined in:
- lib/bipbip/agent.rb
#initialize(config_file = nil) ⇒ Agent
Returns a new instance of Agent.
10 11 12 13 14 15 |
# File 'lib/bipbip/agent.rb', line 10 def initialize(config_file = nil) @plugins = [] @storages = [] load_config(config_file) if config_file end |