PageRenderTime 61ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 19ms 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
 1User := 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
10  addTask := method(aTask,
11    tasks append(aTask)
12  )
13)
14
15