Class: Mexico::FileSystem::Participant
- Inherits:
-
Object
- Object
- Mexico::FileSystem::Participant
- Extended by:
- IdRef
- Includes:
- BoundToCorpus, ROXML
- Defined in:
- lib/mexico/file_system/participant.rb
Overview
Participant Roles describe the nature of the associated participant: Possible values are, e.g., naive participants, confederates, experimenters, etc.
Instance Attribute Summary
Attributes included from BoundToCorpus
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Participant
constructor
Creates a new participant object.
Methods included from IdRef
Methods included from BoundToCorpus
Constructor Details
#initialize(opts = {}) ⇒ Participant
Creates a new participant object.
62 63 64 65 66 67 |
# File 'lib/mexico/file_system/participant.rb', line 62 def initialize(opts={}) # @corpus = corpus [:identifier,:name,:description,:participant_role].each do |att| send("#{att}=", opts[att]) if opts.has_key?(att) end end |