def option_replace(key, default = nil)
      value = @options[key] || default
      @options.delete(key) if @options.has_key?(key)
      value
    end
def option_replace(key, default = nil)
      value = @options[key] || default
      @options.delete(key) if @options.has_key?(key)
      value
    end
Delete a key from the elements options hash. Will be renamed
 to option_delete.

 @param [key] key Key of the option hash to be removed
 @param [value] default Optional value to use if option value is nil
 @return [value] Return the current option value or value of
   default parameter