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: blender.rb
    path of file: ./repos/travis-build/lib/travis/build/addons
    
    the code of the file until where you have to start completion: require 'shellwords'
require 'travis/build/addons/base'

module Travis
  module Build
    class Addons
      class Blender < Base
        ALLOWED_VERSIONS = %w[3.4.1].freeze

        def after_
    
        def after_prepare
          sh.fold 'blender' do
            if data.config[:os] != 'linux'
              sh.echo 'Blender is only available for linux', ansi: :red
              return
            end

            if version.nil?
              sh.echo "Blender: Invalid version '#{raw_version}' given. Valid versions are: #{ALLOWED_VERSIONS.join(', ')}",
                      ansi: :red
              return
            end