Class: Yawast::Commands::Head

Inherits:
Object
  • Object
show all
Defined in:
lib/commands/head.rb

Class Method Summary collapse

Class Method Details

.process(args, options) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/commands/head.rb', line 6

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