Module: DynamicFieldsets::FieldWithFieldOptions::ClassMethods

Defined in:
lib/dynamic_fieldsets/field_with_field_options.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_field_with_field_options(args = {}) ⇒ Object



10
11
12
13
# File 'lib/dynamic_fieldsets/field_with_field_options.rb', line 10

def acts_as_field_with_field_options(args = {})
  validate :at_least_one_field_option
  include DynamicFieldsets::FieldWithFieldOptions::InstanceMethods
end