You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: free_gift_view_model.rb
    path of file: ./repos/workarea/admin/app/view_models/workarea/admin/discounts
    
    the code of the file until where you have to start completion: module Workarea
  module Admin
    module Discounts
      class FreeGiftViewModel < DiscountViewModel
        include Pr
    
        def selected_condition_option
          if use_order_total?
            'order_total'
          elsif user_tag?
            'user_tag'
          elsif active_segment_ids.present?
            'segments'
          end