lib/rom/commands/update.rb in rom-0.4.2 vs lib/rom/commands/update.rb in rom-0.5.0

- old
+ new

@@ -1,10 +1,9 @@ require 'rom/commands/with_options' module ROM module Commands - # Update command # # This command updates all tuples in its relation with new attributes # # @abstract @@ -24,19 +23,21 @@ # @return [Array] an array with updated tuples # # @abstract # # @api private - def execute(params) - raise NotImplementedError, "#{self.class}##{__method__} must be implemented" + def execute(_params) + raise( + NotImplementedError, + "#{self.class}##{__method__} must be implemented" + ) end # Return new update command with new relation # # @api private def new(*args, &block) self.class.new(relation.public_send(*args, &block), options) end end - end end