blinky 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/lib/blinky/version.rb
CHANGED
@@ -3,20 +3,24 @@ module Blinky
|
|
3
3
|
module VisualIndicator
|
4
4
|
module GenerationII
|
5
5
|
|
6
|
-
def success!
|
6
|
+
def success!
|
7
|
+
off!
|
7
8
|
set_colour("\x01")
|
8
9
|
end
|
9
10
|
|
10
11
|
def failure!
|
12
|
+
off!
|
11
13
|
set_colour("\x02")
|
12
14
|
end
|
13
15
|
|
14
|
-
def building!
|
16
|
+
def building!
|
17
|
+
off!
|
15
18
|
set_colour("\x04")
|
16
19
|
end
|
17
20
|
|
18
21
|
def warning!
|
19
|
-
|
22
|
+
off!
|
23
|
+
set_colour("\x06")
|
20
24
|
end
|
21
25
|
|
22
26
|
def off!
|