1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

OPTIONAL_DO_TOKENS should be an array

This commit is contained in:
Conrad Irwin 2012-12-30 18:13:03 -08:00
parent b6bd28139f
commit 6d0b6b9a14

View file

@ -55,7 +55,7 @@ class Pry
SINGLELINE_TOKENS = %w(if while until unless rescue)
# Which tokens can be followed by an optional "do" keyword.
OPTIONAL_DO_TOKENS = %(for while until)
OPTIONAL_DO_TOKENS = %w(for while until)
# Collection of token types that should be ignored. Without this list
# keywords such as "class" inside strings would cause the code to be