Module: Socrates
- Defined in:
- lib/socrates.rb,
lib/socrates/logger.rb,
lib/socrates/version.rb,
lib/socrates/bots/cli.rb,
lib/socrates/bots/slack.rb,
lib/socrates/core/state.rb,
lib/socrates/core/session.rb,
lib/socrates/configuration.rb,
lib/socrates/sample_states.rb,
lib/socrates/storage/redis.rb,
lib/socrates/adapters/slack.rb,
lib/socrates/adapters/stubs.rb,
lib/socrates/storage/memory.rb,
lib/socrates/adapters/memory.rb,
lib/socrates/bots/slack/ping.rb,
lib/socrates/core/dispatcher.rb,
lib/socrates/core/state_data.rb,
lib/socrates/storage/storage.rb,
lib/socrates/adapters/adapter.rb,
lib/socrates/adapters/console.rb
Defined Under Namespace
Modules: Adapters, Bots, Core, SampleStates, Storage
Classes: Configuration, Logger
Constant Summary
collapse
- VERSION =
"0.1.26"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
6
7
8
|
# File 'lib/socrates/configuration.rb', line 6
def self.config
@config ||= Configuration.new
end
|
10
11
12
|
# File 'lib/socrates/configuration.rb', line 10
def self.configure
yield(config)
end
|