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: decorator.rb
    path of file: ./repos/drape/lib/drape
    
    the code of the file until where you have to start completion: module Drape
  class Decorator
    
    
    def self.inferred_object_class
      name = object_class_name
      name.constantize
    rescue NameError => error
      raise if name && !error.missing_name?(name)
      raise Drape::UninferrableSourceError, self
    end