<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Dec 18, 2007, at 12:39 PM, Jonathan Linowes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(250, 250, 250); "><font face="Gill Sans" size="3" style="font: 12.0px Gill Sans">hi, i want to make a behavior shared between models, the examples need to create new instances etc. Is there a way to pass the model class to the shared behavior?</font></div></blockquote><div><br></div><div>Nope.  The only way to do it right now is with an instance variable.  The shared behaviours can be thought of modules which are included into the current behaviour - so it should also have access to any methods defined in the example (group) in which it is shared.</div><div><br class="webkit-block-placeholder"></div><div>Scott</div><div><br class="webkit-block-placeholder"></div></div></body></html>