Method: Rustic::Hooks#initialize
- Defined in:
- lib/rustic/hooks.rb
#initialize(config) ⇒ Hooks
Returns a new instance of Hooks.
4 5 6 7 |
# File 'lib/rustic/hooks.rb', line 4 def initialize(config) @before = config&.before @after = config&.after end |