module Origin::Extensions::Regexp

This module contains additional regex behaviour.

Public Instance Methods

regexp?() click to toggle source

Is the object a regexp?

@example Is the object a regex?

/^[123]/.regexp?

@return [ true ] Always true.

@since 1.0.0

# File lib/origin/extensions/regexp.rb, line 15
def regexp?; true; end