class Guard::Jobs::PryWrapper

def _prompt(ending_char)


`ending_char` when called.
Returns a proc that will return itself a string ending with the given
def _prompt(ending_char)
  proc do |target_self, nest_level, pry|
    process = Guard.listener.paused? ? "pause" : "guard"
    level = ":#{ nest_level }" unless nest_level.zero?
    "[#{ _history(pry) }] #{ _scope_for_prompt }#{ process }"\
      "(#{ _clip_name(target_self) })#{ level }#{ ending_char } "
  end
end