Class: Nanobot::Config::AgentsConfig
- Inherits:
-
Struct
- Object
- Struct
- Nanobot::Config::AgentsConfig
- Defined in:
- lib/nanobot/config/schema.rb
Overview
Top-level agents section wrapping agent defaults
Instance Attribute Summary collapse
-
#defaults ⇒ Object
Returns the value of attribute defaults.
Instance Method Summary collapse
-
#initialize(defaults: {}) ⇒ AgentsConfig
constructor
A new instance of AgentsConfig.
Constructor Details
#initialize(defaults: {}) ⇒ AgentsConfig
Returns a new instance of AgentsConfig.
82 83 84 |
# File 'lib/nanobot/config/schema.rb', line 82 def initialize(defaults: {}) super(defaults: AgentDefaults.new(**defaults)) end |
Instance Attribute Details
#defaults ⇒ Object
Returns the value of attribute defaults
80 81 82 |
# File 'lib/nanobot/config/schema.rb', line 80 def defaults @defaults end |