Skip to content
instance method

Symbol#match?

(::Regexp | ::string pattern, ?::int offset) -> bool
match?(pattern, offset) → true or false

Equivalent to sym.to_s.match?; see String#match.

See also #match #name #length #next also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0