Class: Caliper::Entities::Agent::Person
- Inherits:
-
EntityBase
- Object
- Entity
- EntityBase
- Caliper::Entities::Agent::Person
- 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
Instance Method Summary collapse
-
#initialize ⇒ Person
constructor
A new instance of Person.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ Person
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 |