PageRenderTime 17ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/app/models/User.io

http://github.com/pgregory/blackpool
Unknown | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 8a45223472500fb59fa80628744981b6 MD5 | raw file
  1. User := Object clone do(
  2. init := method(
  3. id ::= nil
  4. userName ::= Sequence clone
  5. email ::= Sequence clone
  6. tasks ::= List clone
  7. password ::= Sequence clone
  8. )
  9. addTask := method(aTask,
  10. tasks append(aTask)
  11. )
  12. )