Method: Packr::RegexpGroup#test

Defined in:
lib/packr/base2/regexp_group.rb

#test(string) ⇒ Object



56
57
58
# File 'lib/packr/base2/regexp_group.rb', line 56

def test(string)
  exec(string) != string
end