Sha256: f10295c519c12fdc5fceeecc82df2690e9aa031b3b081e0c56b10b0bf49f2dd0

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Yawast
  module Commands
    class Head
      def self.process(args, options)
        args.each do |arg|
          uri = Yawast::Commands::Utils.extract_uri([arg])

          options.head = true
          Yawast::Scanner::Core.process(uri, options)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yawast-0.7.2 lib/commands/head.rb
yawast-0.7.1 lib/commands/head.rb