Sha256: 7346ac68eb2b659f2b72d312ffb2fad7ff2340bc091bf433a79403a04eff2c36
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
# frozen_string_literal: true require "zeitwerk" require "phlex" module Phlexi module Form Loader = Zeitwerk::Loader.new.tap do |loader| loader.tag = File.basename(__FILE__, ".rb") loader.inflector.inflect( "phlexi-form" => "Phlexi", "phlexi" => "Phlexi", "dom" => "DOM" ) loader.push_dir(File.expand_path("..", __dir__)) loader.ignore(File.expand_path("../generators", __dir__)) loader.setup end BaseComponent = (defined?(::ApplicationComponent) ? ::ApplicationComponent : Phlex::HTML) class Error < StandardError; end end end def Phlexi.Form(...) Phlexi::Form::Base.new(...) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phlexi-form-0.2.0 | lib/phlexi/form.rb |