Google

def add_namespace( prefix, uri=nil ) unless uri else @attributes[ prefix ] = uri end self end