lem 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/lem +3 -2
- metadata +1 -1
data/bin/lem
CHANGED
|
@@ -12,11 +12,12 @@ scr = Scratch.new
|
|
|
12
12
|
scr.add_words PrintingWords
|
|
13
13
|
scr.add_words MathWords
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
while true
|
|
16
17
|
print ">>> "
|
|
17
18
|
inp = gets
|
|
18
|
-
break if inp == "exit"
|
|
19
|
-
scr
|
|
19
|
+
break if inp == "exit\n"
|
|
20
|
+
scr.run(inp)
|
|
20
21
|
end
|
|
21
22
|
|
|
22
23
|
puts "\nLem is awesome, huh?"
|