Sha256: 46687ae98bd8a20107fe5de7bac73342a2de629a9acc4d79b2fefade612397df

Contents?: true

Size: 646 Bytes

Versions: 6

Compression:

Stored size: 646 Bytes

Contents

module HungryForm
  class << self
    attr_writer :configuration

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end

    def reset_config
      @configuration = Configuration.new
    end
  end
end

require 'json'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/class/attribute'
require 'active_support/core_ext/object'
require 'hungryform/version'
require 'hungryform/form'
require 'hungryform/exceptions'
require 'hungryform/resolver'
require 'hungryform/configuration'
require 'hungryform/validator'
require 'hungryform/elements'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hungryform-0.0.11 lib/hungryform.rb
hungryform-0.0.10 lib/hungryform.rb
hungryform-0.0.9 lib/hungryform.rb
hungryform-0.0.8 lib/hungryform.rb
hungryform-0.0.7 lib/hungryform.rb
hungryform-0.0.6 lib/hungryform.rb