Skip to content
Browse files

OPTIONAL_DO_TOKENS should be an array

  • Loading branch information...
1 parent b6bd281 commit 6d0b6b9a14763813edb9cf0c20c3869435eabae2 @ConradIrwin ConradIrwin committed Dec 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pry/indent.rb
2 lib/pry/indent.rb
@@ -55,7 +55,7 @@ class UnparseableNestingError < StandardError; end
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

0 comments on commit 6d0b6b9

Please sign in to comment.
Something went wrong with that request. Please try again.