Class: Regexp

Inherits:
Object
  • Object
show all
Defined in:
lib/itamae-spec/task/base.rb

Instance Method Summary collapse

Instance Method Details

#match?(m) ⇒ Boolean

Returns:

  • (Boolean)


32
33
34
35
36
37
38
# File 'lib/itamae-spec/task/base.rb', line 32

def match?(m)
  if self.match(m)
    true
  else
    false
  end
end