lib/robot/commands/base.rb in robot_rea-0.1.5 vs lib/robot/commands/base.rb in robot_rea-0.1.6
- old
+ new
@@ -1,8 +1,11 @@
+# frozen_string_literal: true
+
module Robot
module Commands
+ # Command Base/Interface
class Base
- def self.matches(command)
+ def self.matches(_command)
raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
end
def self.call
raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"