Sha256: 5ebd51bd0e4873c6b251ccb25f5e3c298c6bd5fd8a8549ab96161fb727c4fef6

Contents?: true

Size: 113 Bytes

Versions: 3

Compression:

Stored size: 113 Bytes

Contents

class Kommando::Matchers::Once < Kommando::Matchers::Base
  def match(string)
    string.match(@regexp)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kommando-0.1.2 lib/kommando/matchers/once.rb
kommando-0.1.1 lib/kommando/matchers/once.rb
kommando-0.1.0 lib/kommando/matchers/once.rb