Sha256: 530262795a3a222ceed8801abab48098ae402d26fb0396f92c612a401a8fb8eb
Contents?: true
Size: 442 Bytes
Versions: 5
Compression:
Stored size: 442 Bytes
Contents
require 'ripple/callbacks' module Ripple module EmbeddedDocument module AroundCallbacks extend ActiveSupport::Concern extend Translation included do Ripple::Callbacks::CALLBACK_TYPES.each do |type| define_singleton_method "around_#{type}" do |*args| raise NotImplementedError.new(t("around_callbacks_not_supported", :type => type)) end end end end end end
Version data entries
5 entries across 5 versions & 4 rubygems