Skip to content

Instantly share code, notes, and snippets.

@cjameshuff
Created November 1, 2011 04:07
Show Gist options
  • Save cjameshuff/1329885 to your computer and use it in GitHub Desktop.
Save cjameshuff/1329885 to your computer and use it in GitHub Desktop.
class Pry
retrieve_line = self.instance_method(:retrieve_line)
define_method(:retrieve_line) do |eval_string, target|
puts "*"
retrieve_line.bind(self).call(eval_string, target)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment