Sha256: 3d7a4cdef18ad678589679bcbede896f964892fd4d55b5841806dc10b1e70575
Contents?: true
Size: 508 Bytes
Versions: 3
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true require "phlex" require "phlex/rails/engine" module Phlex::Rails Loader = Zeitwerk::Loader.new.tap do |loader| loader.push_dir("#{__dir__}/rails", namespace: Phlex::Rails) loader.inflector = Zeitwerk::GemInflector.new(__FILE__) loader.inflector.inflect("html" => "HTML") loader.setup end Phlex::HTML.prepend(Phlex::Rails::HTML::Overrides) Phlex::HTML.extend(Phlex::Rails::HTML::ClassMethods) Phlex::HTML.extend(Phlex::Rails::HTML::AppendMethodAddedWarning) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phlex-rails-0.6.1 | lib/phlex/rails.rb |
phlex-rails-0.6.0 | lib/phlex/rails.rb |
phlex-rails-0.5.1 | lib/phlex/rails.rb |