Sha256: 3ef6089a515856df415acbd3aea66e19c681fd7a4aa58341bd3cd9975ada3e4f

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

module Phlex
	module Experimental
		def before_template
			if Phlex.configuration.experimental_warnings
				puts "Warning: #{self.class.name} is using experimental Phlex features that are subject to change."
			end

			super
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phlex-1.2.2 lib/phlex/experimental.rb
phlex-1.2.1 lib/phlex/experimental.rb
phlex-1.2.0 lib/phlex/experimental.rb