Sha256: f1d87c3e4609e6420e1930eceefbe35f9249e2ef6c200b10067c935bcf453c7c
Contents?: true
Size: 770 Bytes
Versions: 7
Compression:
Stored size: 770 Bytes
Contents
# frozen_string_literal: true require "pakyow/support/extension" module Pakyow class Application module Behavior module Presenter module Exposures extend Support::Extension apply_extension do unless ancestors.include?(Plugin) # Copy exposures from the plugin renderer. # after "load.plugins" do plugs.each do |plug| plug.isolated(:Renderer).__expose_fns.each do |fn| isolated(:Renderer).send(:expose) do |connection| fn.call(connection, plug) end end end end end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems