Class: Jfuzz::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/jfuzz/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#generatorsObject (readonly)

Returns the value of attribute generators.



17
18
19
# File 'lib/jfuzz/configuration.rb', line 17

def generators
  @generators
end

#max_array_lengthObject

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_integerObject

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_lengthObject

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_integerObject

Returns the value of attribute min_integer.



19
20
21
# File 'lib/jfuzz/configuration.rb', line 19

def min_integer
  @min_integer
end

#nil_probabilityObject

Returns the value of attribute nil_probability.



19
20
21
# File 'lib/jfuzz/configuration.rb', line 19

def nil_probability
  @nil_probability
end

#true_probabilityObject

Returns the value of attribute true_probability.



19
20
21
# File 'lib/jfuzz/configuration.rb', line 19

def true_probability
  @true_probability
end