Class: Regexp

Inherits:
Object
  • Object
show all
Defined in:
lib/rdf/extensions.rb

Instance Method Summary collapse

Instance Method Details

#match?(*args) ⇒ Boolean

Returns:

  • (Boolean)

9
10
11
# File 'lib/rdf/extensions.rb', line 9

def match?(*args)
  !match(*args).nil?
end