Class: PubliSci::Prov::Model::Entity

Inherits:
Spira::Base
  • Object
show all
Defined in:
lib/bio-publisci/metadata/prov/model/prov_models.rb

Instance Method Summary collapse

Instance Method Details

#organizationObject



19
20
21
22
23
24
25
# File 'lib/bio-publisci/metadata/prov/model/prov_models.rb', line 19

def organization
  wasAttributedTo.map{|src|
    if Agent.for(src).actedOnBehalfOf
      Agent.for(Agent.for(src).actedOnBehalfOf).label
    end
  }
end