lib/mini_histogram.rb
# Sets the edge value to something new,
# also clears any previously calculated values
Sets the edge value to something new,
also clears any previously calculated values
Sets the edge value to something new also clears any previously calculated values
def update_values(edges:, max: )
    @edges = edges
    @max = max
    @weights = nil 
  end
def update_values ( edges : , max : ) @edges = edges @max = max @weights = nil end
Sets the edge value to something new,
also clears any previously calculated values
Sets the edge value to something new also clears any previously calculated values
# clear memoized value
edges
<not_specific>
max
<not_specific>