Class: Remme::Runner
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Methods included from Demonizer
Constructor Details
#initialize(options) ⇒ Runner
Returns a new instance of Runner.
20 21 22 23 24 25 26 |
# File 'lib/remme.rb', line 20 def initialize() @options = .merge( notifier: notifier, after_hook: ->() { player.play }, before_hook: ->() { player.pause } ) end |
Class Method Details
.run(options) ⇒ Object
15 16 17 |
# File 'lib/remme.rb', line 15 def run() new().run end |