I am trying to reject array items based on multiple conditions.

The code is as follows

```
      def fetch_items
        items= line_items.reject(&driving?)
        if new_order_history_enabled?
          items = items.reject{ |li| li.expenses == 0 }
        end
        items
     end
     def driving?
        proc { |line_item| LineItemType.new(line_item, segment).drive? }
     end

```

Is there a one liner or a more cleaner way to write this?

Something like

```
items= line_items.reject { |li| li.driving? && ( new_order_history_enabled? && li.expenses == 0)}

```