Module: OmniHooks
- Defined in:
- lib/omnihooks.rb,
lib/omnihooks/builder.rb,
lib/omnihooks/version.rb,
lib/omnihooks/strategy.rb,
lib/omnihooks/strategies/developer.rb
Defined Under Namespace
Modules: Strategies, Strategy, Utils
Classes: Builder, Configuration
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
46
47
48
|
# File 'lib/omnihooks.rb', line 46
def self.config
Configuration.instance
end
|
50
51
52
|
# File 'lib/omnihooks.rb', line 50
def self.configure
yield config
end
|
.logger ⇒ Object
54
55
56
|
# File 'lib/omnihooks.rb', line 54
def self.logger
config.logger
end
|
.strategies ⇒ Array<Object>
Collection of current strategies
17
18
19
|
# File 'lib/omnihooks.rb', line 17
def self.strategies
@strategies ||= []
end
|