lib/nanoc/cli/commands/compile.rb in nanoc-4.4.2 vs lib/nanoc/cli/commands/compile.rb in nanoc-4.4.3

- old
+ new

@@ -22,12 +22,11 @@ # does not have a real implementation; subclasses should override {#start} # and set up notifications to listen to. # # @abstract Subclasses must override {#start} and may override {#stop}. class Listener - def initialize(*) - end + def initialize(*); end # @param [Nanoc::CLI::CommandRunner] command_runner The command runner for this listener # # @return [Boolean] true if this listener should be enabled for the given command runner, false otherwise # @@ -46,11 +45,10 @@ end # Stops the listener. The default implementation removes self from all notification center observers. # # @return [void] - def stop - end + def stop; end # @api private def start_safely start @_started = true