Changes between Version 14 and Version 15 of Software/eTutorialSupport
- Timestamp:
- Jun 27, 2016, 3:22:07 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/eTutorialSupport
v14 v15 313 313 }}} 314 314 315 2. In {{{experiment.rb}}}: 316 317 Add before {{{attr_reader :domain}}}: 318 319 {{{ 320 @@user = %x(whoami).downcase.chomp 321 }}} 322 323 and after {{{def Experiment.ID}}}: 324 325 {{{ 326 # 327 # Return the user 328 # 329 def Experiment.User 330 return @@user 331 end 332 }}} 333 315 334 === Usage instructions === 316 335