abstract class CounterSafe::AbstractCounter

Direct Known Subclasses

Defined in:

counter_safe/abstract_counter.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.from_json(jsonified_values : String) #

[View source]

Instance Method Detail

def inc(key : String) #

[View source]
def reset(key : String, the_value : Int32 = 0) #

[View source]
def reset! #

[View source]
def reset_all(jsonified_values : String) #

[View source]
def to_json(builder : JSON::Builder) #

[View source]
def to_json #

[View source]
def value(key : String) #

[View source]
def values #

[View source]