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:
parent
14771b2bb4
commit
e3c80b20f2
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue