class Cascade::StatisticsStores::AbstractStore

Attributes

store[R]

Public Class Methods

new(default_value = nil) click to toggle source
# File lib/cascade/statistics_stores/abstract_store.rb, line 6
def initialize(default_value = nil)
  @store = default_value || initialize_value
end

Public Instance Methods

update(*) click to toggle source
# File lib/cascade/statistics_stores/abstract_store.rb, line 12
def update(*)
  raise NotImplementedError
end

Private Instance Methods

initialize_value(*) click to toggle source
# File lib/cascade/statistics_stores/abstract_store.rb, line 18
def initialize_value(*)
  raise NotImplementedError
end