Class: Regexp
Instance Method Summary collapse
-
#from_user_input(value) ⇒ Object
Returns the string if value matches self’s regex, returns nil otherwise.
Returns the string if value matches self’s regex, returns nil otherwise.