Class: Caliper::Entities::Agent::Person

Inherits:
EntityBase show all
Includes:
FOAF::Agent
Defined in:
lib/caliper/entities/agent/person.rb

Instance Attribute Summary

Attributes inherited from EntityBase

#dateCreated, #dateModified, #description, #extensions, #name

Attributes inherited from Entity

#context, #id, #type

Instance Method Summary collapse

Methods included from Jsonable

#eql?, #from_json, included, #to_json

Constructor Details

#initializePerson

Returns a new instance of Person.



32
33
34
35
# File 'lib/caliper/entities/agent/person.rb', line 32

def initialize
  super
  @type = Caliper::Entities::EntityType::PERSON
end