app/models/bplmodels/mods_desc_metadata.rb
def insert_related_item_url(value=nil)
      related_index = self.mods(0).related_item.count

      self.mods(0).related_item(related_index).location(0).url = value unless value.blank?
    end
#include Hydra::Datastream::CommonModsIndexMethods
# MODS XML constants.
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
def insert_related_item_url(value=nil)
      related_index = self.mods(0).related_item.count
      self.mods(0).related_item(related_index).location(0).url = value unless value.blank?
    end
def insert_related_item_url ( value = nil ) related_index = self . mods ( 0 ) . related_item . count self . mods ( 0 ) . related_item ( related_index ) . location ( 0 ) . url = value unless value . blank? end
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
value