Module: EasyRepl::Commands::Matchable
Instance Method Summary collapse
Instance Method Details
#matches(input) ⇒ Object
4 5 6 |
# File 'lib/easy_repl/commands/matchable.rb', line 4 def matches(input) input =~ /^#{cmd_txt}/ end |
4 5 6 |
# File 'lib/easy_repl/commands/matchable.rb', line 4 def matches(input) input =~ /^#{cmd_txt}/ end |