lib/cri/command_runner.rb in cri-2.7.0 vs lib/cri/command_runner.rb in cri-2.7.1
- old
+ new
@@ -1,7 +1,5 @@
-# encoding: utf-8
-
module Cri
# A command runner is responsible for the execution of a command. Using it
# is optional, but it is useful for commands whose execution block is large.
class CommandRunner
# @return [Hash] A hash contain the options and their values
@@ -38,9 +36,9 @@
#
# @return [void]
#
# @abstract
def run
- fail NotImplementedError, 'Cri::CommandRunner subclasses must implement #run'
+ raise NotImplementedError, 'Cri::CommandRunner subclasses must implement #run'
end
end
end