Sha256: ae5754162136a7fdc52c580ddbfa524d1d439abb12f4a21defd91807fb445eee
Contents?: true
Size: 773 Bytes
Versions: 4
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true require "stenotype/context_handlers/collection" module Stenotype # # A namespace to contain various context # handlers implementations # module ContextHandlers class << self attr_writer :known # # @return {Array<#publish>} A list of handlers implementing [#publish] # def known @known ||= Stenotype::ContextHandlers::Collection.new end # # @param handler {#publish} A handler with implemented method [#publish] # delegate :register, to: :known end end end require "stenotype/context_handlers/base" require "stenotype/context_handlers/rails/controller" require "stenotype/context_handlers/rails/active_job" require "stenotype/context_handlers/klass"
Version data entries
4 entries across 4 versions & 1 rubygems