class Mexico::FileSystem::Participant
Participant
Roles describe the nature of the associated participant: Possible values are, e.g., naive participants, confederates, experimenters, etc.
Public Class Methods
new(opts={})
click to toggle source
Creates a new participant object. @option opts [String] :identifier The identifier of the new participant object. @option opts [String] :name The name of the new participant object. @option opts [String] :description The identifier of the new participant object. @option opts [String] :identifier The identifier of the new participant object. @option opts [String] :name The name of the new participant object. @option opts [String] :participant_role The participant role of the new participant object.
# 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