class TurboRex::Fuzzer::Config

Attributes

fuzzer_configure[R]
mechanism[R]

Public Instance Methods

configure(&block) click to toggle source
# File lib/turborex/fuzzer.rb, line 182
def configure(&block)
  case mechanism.to_sym
  when :rpc
    raise NotImplementedError
  when :com
    @fuzzer_configure = Docile.dsl_eval(COMFuzzer::Config.new, &block).build
  end
end
mechanism=(m) click to toggle source
# File lib/turborex/fuzzer.rb, line 177
def mechanism=(m)
  raise "Should be one of these values: 'rpc', 'com'" unless [:com, :rpc].include?(m.to_sym)
  @mechanism = m
end