Class: Safer::IVarFactory::Prefix

Inherits:
Object
  • Object
show all
Defined in:
lib/safer/ivarfactory/prefix.rb

Direct Known Subclasses

Full, Last

Defined Under Namespace

Classes: Full, Last

Class Method Summary collapse

Class Method Details

.is_anon(component) ⇒ Object



2
3
4
# File 'lib/safer/ivarfactory/prefix.rb', line 2

def self.is_anon(component)
  /^\#<.*>$/.match(component)
end