For some reason, I am not able to do this:

Object subclass: #TestBox
        instanceVariableNames: 'origin corner pointList'
        classVariableNames: ''
        poolDictionaries: ''
        category: 'PrintBot-Models’!

initialize
        pointList := OrderedCollection new.


If i do something like below, I don’t see the list of points ever show up in 
mongo..

Ideas?

b := TestBox new.
b save.
p1 := Point x:0 y:0.
p1 save.
p2 := Point x:12 y:343.
p2 save.

b origin: p1.
b corner: p2.

b save.

b pointList add: p1.
b save.
b pointList add: p2.
b save.



----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

Reply via email to