/***
 * Excerpted from "Programming Ruby 3.2",
 * published by The Pragmatic Bookshelf.
 * Copyrights apply to this code. It may not be used to create training material,
 * courses, books, articles, and the like. Contact us if you are in doubt.
 * We make no guarantees that this code is fit for any purpose.
 * Visit https://pragprog.com/titles/ruby6 for more book information.
***/
var search_data = {"index":{"searchIndex":["counter","inc()","new()"],"longSearchIndex":["counter","counter#inc()","counter::new()"],"info":[["Counter","","Counter.html","","<p>Implements a simple accumulator, whose value is accessed via the attribute <em>counter</em>. Calling the method …\n"],["inc","Counter","Counter.html#method-i-inc","()","<p>increment the current value of the count\n"],["new","Counter","Counter.html#method-c-new","(initial_value = 0)","<p>create a new Counter with the given initial value\n"]]}}