Sha256: e2e5f64fd07cd1a38654c1f32b0b3feb5f00738bbad1bcf2269b32640d959931
Contents?: true
Size: 455 Bytes
Versions: 20
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Common module Plugins module HasAroundCallbacks module Concern include Support::Concern class_methods do def around(type, &block) Plugins::HasCallbacks::Entities::Callback.new(types: [:around, type], block: block).tap { |callback| callbacks << callback } end end end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems