Class: Jfuzz::Configuration
- Inherits:
-
Object
- Object
- Jfuzz::Configuration
- Defined in:
- lib/jfuzz/configuration.rb
Instance Attribute Summary collapse
-
#generators ⇒ Object
readonly
Returns the value of attribute generators.
-
#max_array_length ⇒ Object
Returns the value of attribute max_array_length.
-
#max_integer ⇒ Object
Returns the value of attribute max_integer.
-
#min_array_length ⇒ Object
Returns the value of attribute min_array_length.
-
#min_integer ⇒ Object
Returns the value of attribute min_integer.
-
#nil_probability ⇒ Object
Returns the value of attribute nil_probability.
-
#true_probability ⇒ Object
Returns the value of attribute true_probability.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 |
# File 'lib/jfuzz/configuration.rb', line 7 def initialize @generators = {} @nil_probability = 0 @true_probability = 0 @min_integer = 0 @max_integer = 0 @min_array_length = 0 @max_array_length = 0 end |
Instance Attribute Details
#generators ⇒ Object (readonly)
Returns the value of attribute generators.
17 18 19 |
# File 'lib/jfuzz/configuration.rb', line 17 def generators @generators end |
#max_array_length ⇒ Object
Returns the value of attribute max_array_length.
19 20 21 |
# File 'lib/jfuzz/configuration.rb', line 19 def max_array_length @max_array_length end |
#max_integer ⇒ Object
Returns the value of attribute max_integer.
19 20 21 |
# File 'lib/jfuzz/configuration.rb', line 19 def max_integer @max_integer end |
#min_array_length ⇒ Object
Returns the value of attribute min_array_length.
19 20 21 |
# File 'lib/jfuzz/configuration.rb', line 19 def min_array_length @min_array_length end |
#min_integer ⇒ Object
Returns the value of attribute min_integer.
19 20 21 |
# File 'lib/jfuzz/configuration.rb', line 19 def min_integer @min_integer end |
#nil_probability ⇒ Object
Returns the value of attribute nil_probability.
19 20 21 |
# File 'lib/jfuzz/configuration.rb', line 19 def nil_probability @nil_probability end |
#true_probability ⇒ Object
Returns the value of attribute true_probability.
19 20 21 |
# File 'lib/jfuzz/configuration.rb', line 19 def true_probability @true_probability end |