Module: FormObject::Integrations::Base

Extended by:
ClassMethods
Included in:
ActiveModel, ActiveRecord
Defined in:
lib/form_object/integrations/base.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Attribute Summary

Attributes included from ClassMethods

#defaults

Class Method Summary collapse

Methods included from ClassMethods

available?, extended, forms, integration_name, locale_path, matches?, matches_ancestors?, matching_ancestors, version, versions

Class Method Details

.included(receiver) ⇒ Object

:nodoc:



105
106
107
108
# File 'lib/form_object/integrations/base.rb', line 105

def self.included(receiver) #:nodoc:
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end