module EasyRepl::Commands::Matchable

Public Instance Methods

matches(input) click to toggle source
# File lib/easy_repl/commands/matchable.rb, line 4
def matches(input)
  input =~ /^#{cmd_txt}/
end