Sha256: aa2f71eb4b9cccfc3fb61d5152fd9dfd2b72af8d3ca95c5e0a7a0a186106314e
Contents?: true
Size: 422 Bytes
Versions: 2
Compression:
Stored size: 422 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 end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
seomoz-ripple-1.0.0.pre | lib/ripple/conflict/document_hooks.rb |
ripple-1.0.0.beta | lib/ripple/conflict/document_hooks.rb |