def get_option_value_selected(option_value)
      if @args[:multiple]
        values = @args[:value].is_a?(Array) ? @args[:value] : @args[:value].split(',')
        return values.include?(option_value) ? "selected='selected'" : ''
      end

      @args[:value] == option_value ? "selected='selected'" : ''
    end
def get_option_value_selected(option_value)
      if @args[:multiple]
        values = @args[:value].is_a?(Array) ? @args[:value] : @args[:value].split(',')
        return values.include?(option_value) ? "selected='selected'" : ''
      end

      @args[:value] == option_value ? "selected='selected'" : ''
    end
This function return a string used on the HTML option to
 set a an option value selected or not.