Class: TurboRex::Fuzzer::COMFuzzer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/turborex/fuzzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#targetObject (readonly)

Returns the value of attribute target.



19
20
21
# File 'lib/turborex/fuzzer.rb', line 19

def target
  @target
end

Instance Method Details

#buildObject



25
26
27
# File 'lib/turborex/fuzzer.rb', line 25

def build
  self
end

#new_target(&block) ⇒ Object



21
22
23
# File 'lib/turborex/fuzzer.rb', line 21

def new_target(&block)
  @target = Docile.dsl_eval(TargetBuilder.new, &block).build
end