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 own classes or subclassing or any of that.. so I've
no idea (other than it looks something like a C++ pointer, but I know
ruby doesn't have pointers) what in the world *args  is doing at that
point in the code..

Is this valid ruby code and I'm perhaps looking at a bug in ruby in
steel?    Is this something added really recently to ruby?  RiS comes
with ruby 186-25  (although I thought I updated this)

ruby-v reports   "1.8.6  (2007-09-24 patchlevel 111)"
 that should be the correct version for working with Watir 1.6.2
right?

On Dec 1, 10:32 am, "Paul Rogers" <[EMAIL PROTECTED]> wrote:
> 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 better help the parser
>
> Paul
>
>
>
> On Mon, Dec 1, 2008 at 11:16 AM, Chuck vdL <[EMAIL PROTECTED]> wrote:
>
> > I'm having a look at Ruby in Steel as a potential IDE for doing
> > testing automation with Watir.
> >  <http://www.sapphiresteel.com/>
>
> > Mostly because:
> >  1) all my devs use Visual Studio for their work, so it puts me on the
> > same platform, gives me good integration with our source control etc.
> >  2) Intellisense!!!   since I'm new to Watir and have not memorized
> > all the applicable methods for each object etc.. and also new to
> > ruby.  Well it just makes it a hell of a lot easier.
> >  3) awsome debugger
>
> > Firstly:  Has anyone else looked at this?  Does anyone else use it?
>
> > I could only find one reference here when searching this group.
>
> > Secondly, I'm having a problem:  It appears to get Intellisense
> > working, I have to add the watir code using their 'ruby librarian'
> > utility.. so I pointed it at the various lib directories under c\ruby
> > \lib\ruby\gems\1.8\gems   for commonwatir, firewatir, watir and asked
> > it to add all the .rb files found there.
>
> > In the process it gives me the following error
> > "unexpected token - '*'   htmlelements.rb  Line 1563  column 20  "
>
> >  the file appears to be part of Firewatir.  Anyone here have an idea
> > why it might be giving me that message?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
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