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: listener.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/sass-3.4.24/vendor/listen/lib/listen
    
    the code of the file until where you have to start completion: require 'pathname'

module Listen
  class Listener
    attr_reader :directories, :directorie
    
    def initialize(*args, &block)
      options     = args.last.is_a?(Hash) ? args.pop : {}
      directories = args.flatten
      initialize_directories_and_directories_records(directories)
      initialize_relative_paths_usage(options)
      @block = block

      ignore(*options.delete(:ignore))
      filter(*options.delete(:filter))

      @adapter_options = options
    end