Sha256: dd1424f86aa460e98a2e7e47c3799f42773e3fd1919280a4c6b4027e214c2bd9
Contents?: true
Size: 447 Bytes
Versions: 34
Compression:
Stored size: 447 Bytes
Contents
class Parent include Mongocore::Document attr_accessor :list before :save do (@list ||= []) << 'before_save' end before :update do (@list ||= []) << 'before_update' end before :delete do (@list ||= []) << 'before_delete' end after :save do (@list ||= []) << 'after_save' end after :update do (@list ||= []) << 'after_update' end after :delete do (@list ||= []) << 'after_delete' end end
Version data entries
34 entries across 34 versions & 1 rubygems