Sha256: 36674b8ceb80b8bb0d2bf4868cb1c29da5fb9159d651b07dd8fee2f63412f145

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

module Phlex::HTML::Callbacks
	def template(&block)
		before_rendering_template if respond_to?(:before_rendering_template)

		super

		after_rendering_template if respond_to?(:after_rendering_template)
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phlex-0.5.3 lib/phlex/html/callbacks.rb
phlex-0.5.2 lib/phlex/html/callbacks.rb
phlex-0.5.1 lib/phlex/html/callbacks.rb
phlex-0.5.0 lib/phlex/html/callbacks.rb