Class: Regexp

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

Instance Method Summary collapse

Instance Method Details

#match?(m) ⇒ Boolean

Returns:

  • (Boolean)


31
32
33
34
35
36
37
# File 'lib/itamae-mitsurin/mitsurin/base.rb', line 31

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