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: avatar_uploader.rb
    path of file: ./repos/viode/app/uploaders
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'carrierwave/processing/mini_magick'

class AvatarUploader < CarrierWave::Uploader::Base
  include CarrierWave::MiniMagick

  MiniMagick.processor = :gm if ViodeSettings.image_processor == 'GraphicsMagick'

  storage :file

  def s
    
  def resize_to_fill_space(width, height)
    manipulate! do |image|
      MiniMagick::Tool::Convert.new do |convert|
        convert << image.path
        convert.resize "#{width}x#{height}^"
        convert.gravity 'center'
        convert.extent "#{width}x#{height}"
        convert << image.path
      end

      image
    end
  end