Sha256: f481d4d8756f67c0a7969b893b222e99d0569eef5690e3387b464f1b7245ea24

Contents?: true

Size: 699 Bytes

Versions: 1

Compression:

Stored size: 699 Bytes

Contents

# -*- coding: utf-8 -*-
module ArFinderForm

  autoload :Config, 'ar_finder_form/config'
  autoload :ClientClassMethods, 'ar_finder_form/client_class_methods'
  autoload :ClientInstanceMethods, 'ar_finder_form/client_instance_methods'
  autoload :Table, 'ar_finder_form/table'
  autoload :JoinedTable, 'ar_finder_form/joined_table'
  autoload :Column, 'ar_finder_form/column'
  autoload :Attr, 'ar_finder_form/attr'
  autoload :Builder, 'ar_finder_form/builder'
  autoload :Context, 'ar_finder_form/context'

  def self.included(mod)
    mod.extend(ClientClassMethods)
    mod.module_eval do
      include ClientInstanceMethods
    end
  end

  def self.config
    @config ||= Config.new
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ar_finder_form-0.1.0 lib/ar_finder_form.rb