Class: TurboRex::Fuzzer::Config
- Inherits:
-
Object
- Object
- TurboRex::Fuzzer::Config
- Defined in:
- lib/turborex/fuzzer.rb
Instance Attribute Summary collapse
-
#fuzzer_configure ⇒ Object
readonly
Returns the value of attribute fuzzer_configure.
-
#mechanism ⇒ Object
Returns the value of attribute mechanism.
Instance Method Summary collapse
Instance Attribute Details
#fuzzer_configure ⇒ Object (readonly)
Returns the value of attribute fuzzer_configure.
175 176 177 |
# File 'lib/turborex/fuzzer.rb', line 175 def fuzzer_configure @fuzzer_configure end |
#mechanism ⇒ Object
Returns the value of attribute mechanism.
174 175 176 |
# File 'lib/turborex/fuzzer.rb', line 174 def mechanism @mechanism end |
Instance Method Details
#configure(&block) ⇒ Object
182 183 184 185 186 187 188 189 |
# 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 |