class Pry

Public Class Methods

bind_key(key, options = {}, &block) click to toggle source
# File lib/pry_ext.rb, line 2
def self.bind_key(key, options = {}, &block)
  PryKeybind.unbind_all!(self)
  PryKeybind.register_anonymous(key, options, &block)
  PryKeybind.bind_all!(self)

  true
end