examples/galena/spec/seed.rb
def migrate(row, migrated)
      super
      cpe = Galena.administrative_objects.protocol.events.first
      self.event_point ||= cpe.event_point
      rqmt = cpe.requirements.first
      CaTissue::TissueSpecimenRequirement.new(:collection_event => self, :specimen_type => rqmt.specimen_type)
    end
def migrate(row, migrated)
      super
      cpe = Galena.administrative_objects.protocol.events.first
      self.event_point ||= cpe.event_point
      rqmt = cpe.requirements.first
      CaTissue::TissueSpecimenRequirement.new(:collection_event => self, :specimen_type => rqmt.specimen_type)
    end
def migrate ( row , migrated ) super cpe = Galena . administrative_objects . protocol . events . first self . event_point ||= cpe . event_point rqmt = cpe . requirements . first CaTissue :: TissueSpecimenRequirement . new ( :collection_event => self , :specimen_type => rqmt . specimen_type ) end
Augments +Jinx::Migratable.migrate+ for the example by adding the following defaults:
 * create a {CaTissue::TissueSpecimenRequirement}
 * copy the event point from {Galena::Seed}

 @param (see Jinx::Migratable#migrate)
Augments + Jinx :: Migratable . migrate + for the example by adding the following defaults : * create a { CaTissue :: TissueSpecimenRequirement } * copy the event point from { Galena :: Seed }