Lines Matching refs:result
340 result = name.dup
341 if result.match /#{old_name}/
342 result.gsub!($&, new_name)
344 if result.match /#{pluralize(old_name)}/
345 result.gsub!($&, pluralize(new_name))
347 if result.match /#{camelize(old_name)}/
348 result.gsub!($&, camelize(new_name))
350 if result.match /#{camelize(pluralize(old_name))}/
351 result.gsub!($&, camelize(pluralize(new_name)))
353 return result if result != name