summaryrefslogtreecommitdiff
path: root/lib/pry/command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pry/command.rb')
-rw-r--r--lib/pry/command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/command.rb b/lib/pry/command.rb
index 6b274133..99bde110 100644
--- a/lib/pry/command.rb
+++ b/lib/pry/command.rb
@@ -354,7 +354,7 @@ class Pry
# @param [String] val The line of input
# @return [Array]
def tokenize(val)
- val.replace(interpolate_string(val)) if command_options[:interpolate]
+ val = interpolate_string(val) if command_options[:interpolate]
self.class.command_regex =~ val