Class: Pry
- Inherits:
-
Object
- Object
- Pry
- Defined in:
- lib/pry_ext.rb
Class Method Summary collapse
Class Method Details
.bind_key(key, options = {}, &block) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/pry_ext.rb', line 2 def self.bind_key(key, = {}, &block) PryKeybind.unbind_all!(self) PryKeybind.register_anonymous(key, , &block) PryKeybind.bind_all!(self) true end |