Class: Jfuzz::PropertyFuzzer
- Inherits:
-
Object
- Object
- Jfuzz::PropertyFuzzer
- Defined in:
- lib/jfuzz/property_fuzzer.rb
Instance Method Summary collapse
Instance Method Details
#fuzz_property(property) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/jfuzz/property_fuzzer.rb', line 5 def fuzz_property(property) type = type(property) generator = Jfuzz.generators.fetch(type, nil) raise "No generator for type #{type}" if generator.nil? generator.new(property, self).try_generate end |