lib/ProMotion/table/table_builder.rb in ProMotion-2.4.0 vs lib/ProMotion/table/table_builder.rb in ProMotion-2.4.1

- old
+ new

@@ -1,8 +1,8 @@ module ProMotion module TableBuilder def trigger_action(action, arguments, index_path) - return PM.logger.info "Action not implemented: #{action.to_s}" unless self.respond_to?(action) + return mp("Action not implemented: #{action.to_s}", force_color: :green) unless self.respond_to?(action) case self.method(action).arity when 0 then self.send(action) # Just call the method when 2 then self.send(action, arguments, index_path) # Send arguments and index path else self.send(action, arguments) # Send arguments end