17 18 19
# File 'lib/mmtop/term_input.rb', line 17 def find_command(cmd) MMTop::Command.commands.detect { |c| c.matches?(cmd) } end