Sha256: beecea080ab6d5105b38c52062b6761bcd08e4f7e79923e280c6a42f23475e2b
Contents?: true
Size: 383 Bytes
Versions: 10
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true module Shimmer module Form end end require_relative "form/builder" require_relative "form/field" Dir["#{File.expand_path("./form", __dir__)}/*"].sort.each do |e| require e name = e.split("/").last.delete_suffix(".rb") next unless name.end_with?("_field") Shimmer::Form::Builder.register("Shimmer::Form::#{name.classify}".constantize) end
Version data entries
10 entries across 10 versions & 1 rubygems