From 652fed8fb30913a3528105ddbe7feea44819b704 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 28 May 2017 17:57:07 +0100 Subject: [PATCH] pgplot: fix rubocop warnings. --- Formula/pgplot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/pgplot.rb b/Formula/pgplot.rb index 90d131aa6d..daf605437b 100644 --- a/Formula/pgplot.rb +++ b/Formula/pgplot.rb @@ -74,8 +74,8 @@ class Pgplot < Formula mkdir "build" do # activate drivers cp "../drivers.list", "." - ["GIF", "VGIF", "LATEX", "PNG", "TPNG", "PS", - "VPS", "CPS", "VCPS", "XWINDOW", "XSERVE"].each do |drv| + %w[GIF VGIF LATEX PNG TPNG PS + VPS CPS VCPS XWINDOW XSERVE].each do |drv| inreplace "drivers.list", %r{^! (.*\/#{drv} .*)}, ' \1' end