All pastes #926533 Raw Edit

Mine

public ruby v1 · immutable
·published 2008-03-03 19:09 UTC
rendered paste body
    if term_type_value == 4 # old perpetual      term_type_value = 1 # new perpetual    elsif has_duration      term_type_value = 2 # fixed duration    else has_expiration_date      term_type_value = 3 # fixed expiration    else      term_type_value = 1 # default to perpetual    end