module Pry::Testable::Utility
def inner_scope
def inner_scope catch(:inner_scope) do yield -> { throw(:inner_scope, self) } end end
def temp_file(ext = '.rb')
-
(void)
-
Other tags:
- Yieldparam: file -
def temp_file(ext = '.rb') file = Tempfile.open(['pry', ext]) yield file ensure file.close(true) if file end
def unindent(*args)
def unindent(*args) Pry::Helpers::CommandHelpers.unindent(*args) end