Sha256: c4460b20b632dee9192eb5b2810466bafe60841b8038d5e46277d37358ab4711
Contents?: true
Size: 487 Bytes
Versions: 8
Compression:
Stored size: 487 Bytes
Contents
module Maintain module Backend class Base def aggregate(maintainee, attribute, name, options, states) require_method :aggregate end def read(instance, attribute) require_method :read end def write(instance, attribute, value) require_method :write end private def require_method(method_name) raise "You need to implement the ##{method_name} method in #{self.class.name}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems