Skip to content

Instantly share code, notes, and snippets.

@ConradIrwin
Created September 26, 2011 08:18
Show Gist options
  • Select an option

  • Save ConradIrwin/1241838 to your computer and use it in GitHub Desktop.

Select an option

Save ConradIrwin/1241838 to your computer and use it in GitHub Desktop.
Pry.config.prompt = Pry::DEFAULT_PROMPT.map do |_super|
proc { |a,b,pry|
format "%2i:%s", pry.input_array.size, _super[a,b,pry]
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment