Class: CustomFieldAnswer

Inherits:
ActiveRecord::Base show all
Includes:
Field
Defined in:
app/models/custom_field_answer.rb,
app/models/custom_field_answer/field.rb

Defined Under Namespace

Modules: Field

Instance Method Summary collapse

Methods included from Field

#after_initialize, #custom_field_id=, #extend_module, #initialize, #module_to_extend, #reassign_value

Instance Method Details

#custom_field=(custom_field) ⇒ Object



12
13
14
15
16
# File 'app/models/custom_field_answer.rb', line 12

def custom_field=(custom_field)
  set_custom_field(custom_field)

  extend_module
end

#set_custom_fieldObject



6
# File 'app/models/custom_field_answer.rb', line 6

alias_method :set_custom_field, :custom_field=