Class: Hydra::Program

Inherits:
RProgram::Program
  • Object
show all
Defined in:
lib/thc-hydra/program.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.crack(options = {}, &block) ⇒ Object



9
10
11
# File 'lib/thc-hydra/program.rb', line 9

def self.crack(options={},&block)
	self.find.crack(options,&block)
end

Instance Method Details

#crack(options = {}, &block) ⇒ Object



13
14
15
# File 'lib/thc-hydra/program.rb', line 13

def crack(options={},&block)
	run_task(Hydra::Task.new(options,&block))
end