class Kommando::Matchers::Once

Public Instance Methods

match(string) click to toggle source
# File lib/kommando/matchers/once.rb, line 2
def match(string)
  string.match(@regexp)
end