I edited it a little to fit my needs, thought I'd post it:

http://pastie.org/554062

I added a "passed" value to the <tests> tag so I can easily check if
the entire suite passed/failed, along with a "time" value so I know
when the test was run.

Thanks again, Tony!

-Dylan


On Jul 21, 11:35 am, Dylan <[email protected]> wrote:
> Thanks! I have it all up and running and its perfect! I had to rework
> my xml stylesheet but it was totally worth it. :)
>
> -Dylan
>
> On Jul 20, 11:12 pm, Tony <[email protected]> wrote:
>
> > Hi Dylan,
>
> > Ooops sorry missed that...
> > Basically this class just gives some short cut methods to access the
> > class variables from ReportManager.
>
> > Code in file ClassAttr.rb
> > class Class
>
> >         def class_attr_reader(*symbols)
> >                 symbols.each do |symbol|
> >                         self.class.send(:define_method, symbol) do
> >                                 class_variable_get("@@#{symbol}")
> >                         end
> >                 end
> >         end
> >         def class_attr_writer(*symbols)
> >                 symbols.each do |symbol|
> >                         self.class.send(:define_method, "#{symbol}=") do 
> > |value|
> >                                 class_variable_set("@@#{symbol}", value)
> >                         end
> >                 end
> >         end
>
> >         def class_attr_accessor(*symbols)
> >                 class_attr_reader(*symbols)
> >                 class_attr_writer(*symbols)
> >         end
>
> > end
>
> > Let me know if you run into any other issues - :)
>
> > Thanks,
> > Tony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to