module ActForm::Merge

Public Instance Methods

merge_attribute_set_from(other) click to toggle source
# File lib/act_form/merge.rb, line 6
def merge_attribute_set_from(other)
  other.attribute_set.each do |attr_name, arr|
    cast_type, options = arr
    attribute attr_name, cast_type, options
  end
end