Sha256: 8646abf4e912310dc295c068cdd38e87e90955d9987a8ae289fa4e6da0e8d3c5
Contents?: true
Size: 471 Bytes
Versions: 1
Compression:
Stored size: 471 Bytes
Contents
module Ripple module Conflict module DocumentHooks extend ActiveSupport::Concern module ClassMethods attr_reader :on_conflict_block def on_conflict(*expected_conflicts, &block) @expected_conflicts = expected_conflicts @on_conflict_block = block end def expected_conflicts @expected_conflicts ||= [] end end module InstanceMethods end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ripple-1.0.0.beta | lib/ripple/conflict/#document_hooks.rb# |