fixed CommandContext#run for ALL commands, including regex. Using CommandProcessor approach
This commit is contained in:
parent
1519b8e403
commit
62f0b95812
|
@ -11,8 +11,9 @@ class Pry
|
|||
attr_accessor :command_set
|
||||
attr_accessor :command_processor
|
||||
|
||||
def run(name, *args)
|
||||
command_set.run_command(self, name, *args)
|
||||
def run(command_string, *args)
|
||||
complete_string = "#{command_string} #{args.join(" ")}"
|
||||
command_processor.process_commands(complete_string, eval_string, target)
|
||||
end
|
||||
|
||||
def commands
|
||||
|
|
Loading…
Reference in New Issue