mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Progress on gist + jruby crash
This commit is contained in:
parent
2bb3bbfb1b
commit
9b38f33b79
2 changed files with 8 additions and 1 deletions
|
@ -24,6 +24,7 @@ class Pry
|
|||
"e.g.: %-33s # %s " % [example_code(e), example_description(e)]
|
||||
end.join "\n"
|
||||
end
|
||||
def require_jist; require 'jist' end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -47,7 +48,7 @@ class Pry
|
|||
attr_accessor :content, :filename
|
||||
|
||||
def setup
|
||||
require 'jist'
|
||||
Pry::Gist.require_jist # extracted so test can stub out
|
||||
@content = ''
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue