Method: Pry::CommandSet#delete
- Defined in:
- lib/pry/command_set.rb
#delete(*searches) ⇒ Object
Removes some commands from the set
138 139 140 141 142 143 |
# File 'lib/pry/command_set.rb', line 138 def delete(*searches) searches.each do |search| cmd = find_command_by_match_or_listing(search) @commands.delete cmd.match end end |