Module: Hey
- Extended by:
- Behavior
- Defined in:
- lib/hey.rb,
lib/hey/version.rb
Defined Under Namespace
Modules: Behavior, Pubsub
Classes: Configuration, Context, EventName, SanitizedHash, ThreadCargo
Constant Summary
collapse
- SANITIZE_KEY =
:sanitize
- VERSION =
"0.2.1"
Class Method Summary
collapse
Methods included from Behavior
context, publish!, subscribe!
Class Method Details
.configuration ⇒ Object
12
13
14
|
# File 'lib/hey.rb', line 12
def self.configuration
@configuration ||= Hey::Configuration.new
end
|
8
9
10
|
# File 'lib/hey.rb', line 8
def self.configure
yield(configuration)
end
|
.global_namespace ⇒ Object
20
21
22
|
# File 'lib/hey.rb', line 20
def self.global_namespace
configuration.global_namespace
end
|
.pubsub_adapter ⇒ Object
16
17
18
|
# File 'lib/hey.rb', line 16
def self.pubsub_adapter
configuration.pubsub_adapter
end
|