From 6d0b6b9a14763813edb9cf0c20c3869435eabae2 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Sun, 30 Dec 2012 18:13:03 -0800 Subject: [PATCH] OPTIONAL_DO_TOKENS should be an array --- lib/pry/indent.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/indent.rb b/lib/pry/indent.rb index 688114d9..75c54021 100644 --- a/lib/pry/indent.rb +++ b/lib/pry/indent.rb @@ -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