Sha256: af2e474983c61e06cb5f7821d4892be303588797e32ec23e024c8a492874499f

Contents?: true

Size: 820 Bytes

Versions: 1

Compression:

Stored size: 820 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true
require 'formtastic/engine' if defined?(::Rails)

module Formtastic
  extend ActiveSupport::Autoload

  autoload :Helpers
  autoload :HtmlAttributes
  autoload :LocalizedString
  autoload :Localizer
  autoload :NamespacedClassFinder
  autoload :InputClassFinder
  autoload :ActionClassFinder
  autoload :Deprecation

  eager_autoload do
    autoload :I18n
    autoload :FormBuilder
    autoload :Inputs
    autoload :Actions
  end

  # @public
  class UnknownInputError < NameError
  end

  # @private
  class UnknownActionError < NameError
  end

  # @private
  class PolymorphicInputWithoutCollectionError < ArgumentError
  end

  # @private
  class UnsupportedMethodForAction < ArgumentError
  end

  # @private
  class UnsupportedEnumCollection < NameError
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formtastic-5.0.0 lib/formtastic.rb