[wtr-general] Re: Watir Ruby in Steel

2008-12-05 Thread Bret Pettichord
No. I know we also use some win32 libraries. Anyone know of a tool that will give a diffinitive answer to this question? Bret Chuck vdL wrote: Hmm something else just occured to me, when I installed Watir it pulled down a bunch of gems with it. I wonder if I need to use their librarian

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Paul Rogers
heres my guess - the firewatir code uses lots of whats really javascript embedded in the ruby file. I think the parser is having a hard time figuring out whats ruby and whats javascript If you poke around in the lines suggested by the parser, you might be able rearrange some of the code to

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
OK so I went and looked.. it's not javascript -=-=- snip-=-= class Radio RadioCheckCommon def initialize *args =-=-=-= snip =-=-=-= its the * in *args that's giving it a fit.. Now understand please that my ruby coding skills are in their infancy.. and I've not gotten into defining my

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
Thanks for sharing your report. I looked at Ruby in Steel over a year ago and it sounds like it has made a lot of progress since then. Back then, our developers were using Visual Studio as well. I agree that it is very attractive for this kind of environment. Bret Chuck vdL wrote: I'm

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
OK the putting that in 'brackets' (sorry still think of those as parenthesis, and [] as brackets..) eliminated that error and got me a new one.. (heh isn't this fun) Now the problem is on line 1078 column 39 of firefox.rbanother unexpected token, this time a comma.. So I went and

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
Chuck vdL wrote: (and if these things get stuff working, do I need to raise a jira issue for this so we make sure to make these changes in the watir source? (point me at instructions for this if they exist, so I do it 'right' I'm used to using Jira at work, but in my experience every

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Paul Rogers
the ri command ( ri Kernel#raise in this case ) shows -- Kernel#raise raise raise(string) raise(exception [, string [, array]]) fail fail(string) fail(exception [, string [, array]])

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
Please do note that all of the examples you've found so far represent correct Ruby code. In many cases with Ruby, parentheses are optional. It might be best if you reported your findings to the Ruby in Steel people so that they can fix their parser. Bret Bret Pettichord wrote: Chuck vdL

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
Brett, ACK I'm still at babysteps level of ruby coding and you're trying to turn me into a contributor aren't you ;) ok ok I'll read up on patches and such and see if I can manage to submit something for this that doesn't totally screw up everything... this is how it starts isn't it. how

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
On Dec 1, 12:14 pm, Bret Pettichord [EMAIL PROTECTED] wrote: Please do note that all of the examples you've found so far represent correct Ruby code. In many cases with Ruby, parentheses are optional. It might be best if you reported your findings to the Ruby in Steel people so that they can

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Bret Pettichord
My preferred ruby style is (1) not to include parentheses when they are optional, and (2) not to pad them with extra spaces when they are used. Bret Chuck vdL wrote: Brett, ACK I'm still at babysteps level of ruby coding and you're trying to turn me into a contributor aren't you ;) ok

[wtr-general] Re: Watir Ruby in Steel

2008-12-01 Thread Chuck vdL
OK posted a message in the forums over at SapphireSteel regarding my experience so far. here's a link http://sapphiresteel.com/forum/index.php?topic=303.0 for any that are interested to follow along. All in all I think if it will work, RubyInSteel could be a kick-ass IDE for working with Ruby