    # File lib/compass/sass_extensions/functions/gradient_support.rb, line 289
        def linear_gradient(position_or_angle, *color_stops)
          if color_stop?(position_or_angle)
            color_stops.unshift(position_or_angle)
            position_or_angle = nil
          elsif list_of_color_stops?(position_or_angle)
            color_stops = position_or_angle.value + color_stops
            position_or_angle = nil
          end
          position_or_angle = nil if position_or_angle && !position_or_angle.to_bool

          # Support legacy use of the color-stops() function
          if color_stops.size == 1 && (stops = list_of_color_stops?(color_stops.first))
            color_stops = stops
          end
          LinearGradient.new(position_or_angle, send(:color_stops, *color_stops))
        end