From 6bd26b4ce6d44b8bd14b38090280b86e761beca7 Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Thu, 27 Sep 2018 21:45:00 +0200 Subject: [PATCH] ledstripe.rb: Fix Exception --- scripts/ledstripe.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ledstripe.rb b/scripts/ledstripe.rb index 9f4119e..4205c39 100755 --- a/scripts/ledstripe.rb +++ b/scripts/ledstripe.rb @@ -17,7 +17,7 @@ class LPD8806 def set(i, red=0, green=0, blue=0) if red > 127 or green > 127 or blue > 127 or red < 0 or green < 0 or blue < 0 - raise Exception("Bad RGB Value") + raise "Bad RGB Value" end @l[i] = [red, green, blue] end -- 2.39.5