lib/openwfe/expressions/raw_prog.rb in openwferu-0.9.3 vs lib/openwfe/expressions/raw_prog.rb in openwferu-0.9.4
- old
+ new
@@ -367,10 +367,10 @@
#
# 'undo' isn't reserved by Ruby, but lets keep it in line
# with 'do' and 'redo' that are.
#
KEYWORDS = [
- :if, :do, :redo, :undo, :print, :sleep, :loop, :break
+ :if, :do, :redo, :undo, :print, :sleep, :loop, :break, :when
]
#
# Ensures the method name is not conflicting with Ruby keywords
# and turn dashes to underscores.