Class: LoadedDie::Sampler::Segment

Inherits:
Struct
  • Object
show all
Defined in:
lib/loaded_die.rb

Overview

A class representing a segment of the number line with an associated individual.

Instance Attribute Summary collapse

Instance Attribute Details

#individualObject

Returns the value of attribute individual

Returns:

  • (Object)

    the current value of individual



31
32
33
# File 'lib/loaded_die.rb', line 31

def individual
  @individual
end

#maximumObject

Returns the value of attribute maximum

Returns:

  • (Object)

    the current value of maximum



31
32
33
# File 'lib/loaded_die.rb', line 31

def maximum
  @maximum
end