Sorry for the late response, but try using app.slot to get access to
the top level slot.

Alex

On Fri, Jan 2, 2009 at 16:26, Krzysztof B. Wicher <[email protected]> wrote:
> Do think about something like that?:
>
> Shoes.app :width => 200, :height => 100 do
> flow
> stack
>   $app=self
>   debug $app.contents.inspect
> end
>
> K
>
> On Fri, Jan 2, 2009 at 6:45 PM, Peter Fitzgibbons
> <[email protected]> wrote:
>>
>> Hello All,
>>
>> I'd like to reference/inspect the top-level flow of the app, like this
>>
>> $top = Shoes.app
>> puts $top.something.inspect
>>
>> The intention here is unit testing, where inspecting the app is the way to
>> salvation
>>
>> Peter Fitzgibbons
>> (847) 687-7646
>> Email: [email protected]
>> IM GTalk: peter.fitzgibbons
>> IM Yahoo: pjfitzgibbons
>> IM MSN: [email protected]
>> IM AOL: [email protected]
>
>



-- 
alexander rakoczy

Reply via email to