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: implementation.rb
    path of file: ./repos/watir/lib/watirspec
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module WatirSpec
  class Implementation
    attr_writer :name, :guard_proc, :browser_class
    attr_accessor :browser_args, :drive
    
    def inspect_args
      selenium_opts = browser_args.last.dup

      options = selenium_opts.delete(:options)
      args = ["#{browser_args.first} tests:\n"]
      selenium_opts.each { |opt| args << "#{opt.inspect}\n" }

      return "#{browser_args.first} default options" if selenium_opts.empty? && options.nil?

      args << "\toptions:\n"
      options.each { |k, v| args << "\t\t#{k}: #{v}\n" }

      args.join
    end