Class: Symbol

Inherits:
Object show all
Defined in:
lib/origen/core_ext/symbol.rb

Instance Method Summary collapse

Instance Method Details

#smatch(regexp) ⇒ Object


2
3
4
# File 'lib/origen/core_ext/symbol.rb', line 2

def smatch(regexp)
  to_s.match(regexp)
end