Class: BibframeRuby::Agent

Inherits:
Resource show all
Defined in:
lib/bibframe_ruby/models/agent.rb

Overview

Represents a BIBFRAME Agent — a person, organization, or other entity.

Direct Known Subclasses

Organization, Person

Instance Attribute Summary

Attributes inherited from Resource

#id, #properties, #rdf_graph, #types

Instance Method Summary collapse

Methods inherited from Resource

#[], #[]=, #initialize, #to_rdf

Constructor Details

This class inherits a constructor from BibframeRuby::Resource

Instance Method Details

#label ⇒ Object



7
8
9
# File 'lib/bibframe_ruby/models/agent.rb', line 7

def label
  self["label"]
end