Sha256: a08ad9bdf4fea2f0aa36d197b68f24450cb0a602e8265bf30f0f8debf1bf27eb

Contents?: true

Size: 653 Bytes

Versions: 3

Compression:

Stored size: 653 Bytes

Contents

require "dry-container"
require "formalist/elements/attr"
require "formalist/elements/compound_field"
require "formalist/elements/field"
require "formalist/elements/group"
require "formalist/elements/many"
require "formalist/elements/many_forms"
require "formalist/elements/form_field"
require "formalist/elements/section"

module Formalist
  class Elements
    extend Dry::Container::Mixin

    register :attr, Attr
    register :compound_field, CompoundField
    register :field, Field
    register :group, Group
    register :many, Many
    register :many_forms, ManyForms
    register :form_field, FormField
    register :section, Section
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formalist-0.9.0 lib/formalist/elements.rb
formalist-0.8.0 lib/formalist/elements.rb
formalist-0.7.0 lib/formalist/elements.rb