1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

update 'gist' command to use _pry_.config.gist.inspecter

This commit is contained in:
Robert Gleeson 2014-02-07 02:01:39 +01:00
parent 14771b2bb4
commit e3c80b20f2
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class Pry
if code && code != ""
content << code
if code !~ /;\Z/
content << "#{comment_expression_result_for_gist(Pry.config.gist.inspecter.call(_pry_.output_array[corrected_index]))}"
content << "#{comment_expression_result_for_gist(_pry_.config.gist.inspecter.call(_pry_.output_array[corrected_index]))}"
end
end
end