Class: C::Sizeof

Inherits:
Object
  • Object
show all
Defined in:
lib/csquare.rb

Instance Method Summary collapse

Instance Method Details

#replace_types!(typenames_and_types) ⇒ Object



556
557
558
# File 'lib/csquare.rb', line 556

def replace_types! typenames_and_types
  self.expr.name = typenames_and_types[self.expr.name] if self.expr.CustomType? && typenames_and_types.has_key?(self.expr.name)
end