lib/berkeley_library/tind/mapping/field_catalog_util.rb
# f is either from field whose tag having a match in csv mapping file - 'from tag' column
f is either from field whose tag having a match in csv mapping file - 'from tag' column
f is either from field whose tag having a match in csv mapping file - ' from tag ' column
def assing_field(rule, f, datafields_hash)
          if rule.pre_existed_tag then datafields_hash[:pre_tag] << f
          elsif rule.pre_existed_tag_subfield then datafields_hash[:pre_tag_subfield] << f
          else  datafields_hash[:normal] << f
          end
        end
def assing_field ( rule , f , datafields_hash ) if rule . pre_existed_tag then datafields_hash [ :pre_tag ] << f elsif rule . pre_existed_tag_subfield then datafields_hash [ :pre_tag_subfield ] << f else datafields_hash [ :normal ] << f end end
f is either from field whose tag having a match in csv mapping file - 'from tag' column
f is either from field whose tag having a match in csv mapping file - ' from tag ' column
rule
<not_specific>
f
<not_specific>
datafields_hash
<not_specific>