Class: RaceGuard::CommitSafety::WatcherDSL
- Inherits:
-
Object
- Object
- RaceGuard::CommitSafety::WatcherDSL
- Defined in:
- lib/race_guard/commit_safety/watcher.rb
Overview
DSL yielded by RaceGuard::Configuration#watch_commit_safety.
Instance Method Summary collapse
-
#initialize(watch_name) ⇒ WatcherDSL
constructor
A new instance of WatcherDSL.
- #intercept(klass, method_name, scope: :auto) ⇒ Object
Constructor Details
#initialize(watch_name) ⇒ WatcherDSL
Returns a new instance of WatcherDSL.
12 13 14 |
# File 'lib/race_guard/commit_safety/watcher.rb', line 12 def initialize(watch_name) @watch_name = watch_name.to_sym end |