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:
parent
b6bd28139f
commit
6d0b6b9a14
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue