    # File lib/compass/actions.rb, line 18
        def directory(dir, options = nil)
          options ||= self.options if self.respond_to?(:options)
          options ||= {}
          if File.exists?(dir) && File.directory?(dir)
              # do nothing
          elsif File.exists?(dir)
            msg = "#{basename(dir)} already exists and is not a directory."
            raise Compass::FilesystemConflict.new(msg)
          else
            log_action :directory, separate("#{basename(dir)}/"), options
            FileUtils.mkdir_p(dir) unless options[:dry_run]
          end
        end