On Dec 18, 2007, at 4:42 PM, David Chelimsky wrote:

> On Dec 18, 2007 3:37 PM, Scott Taylor  
> <[EMAIL PROTECTED]> wrote:
>> 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.
>
> You don't even have to think of it that way - that's actually what
> they are - modules that get included. You can actually assign them to
> a constant and just use Ruby include.

Although we've talked about the implementation changing, which would  
cause those who use them as modules to have broken specs.

Scott

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to