Sha256: 84a972acb3c4713743e6a78ba520e23902b75060789e2d975978f3cd6d5f241e
Contents?: true
Size: 521 Bytes
Versions: 21
Compression:
Stored size: 521 Bytes
Contents
module CanTango class Ability class Cache class BaseCache attr_reader :name, :options def initialize name, options = {} @name, @options = [name, options] options.each_pair do |name, value| var = :"@#{name}" self.instance_variable_set(var, value) end end def load key raise NotImplementedError end def save key, rules raise NotImplementedError end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems