[Wtr-general] Finding out how much space remain on a drive?

2007-04-13 Thread Steve Tangsombatvisit
Hi folks,

Is there a quick and easy way to find out how much disk space remains on a 
drive using Ruby, or how much space is currently being used?


Thanks,
Steve 

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] selecting an item from a list using a regularexpression

2007-04-13 Thread Paul Hammer

Thanks Chris.  That works fine.

Paul


>From: "Chris McMahon" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [Wtr-general] selecting an item from a list using a 
>regularexpression
>Date: Fri, 13 Apr 2007 10:50:21 -0600
>
> > How does one get the value of a variable into a regular expression?
>
>require 'test/unit'
>
>class TC_Spike < Test::Unit::TestCase
>   def test_1950
>
>var = 1950
>data = "xxx1950xxx"
>
>assert_match(/#{var}/,data)
>end
>end
>___
>Wtr-general mailing list
>[EMAIL PROTECTED]
>http://rubyforge.org/mailman/listinfo/wtr-general

_
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] How to post a failed message when the assert fails

2007-04-13 Thread Alan Ark


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of vamsi
Sent: Friday, April 13, 2007 5:35 AM
To: [EMAIL PROTECTED]
Subject: [Wtr-general] How to post a failed message when the assert fails

Hi

I am using this function : assert_equal(1,2) -->  when i execute this 
imeediatley will get the error message and stops the script execution.

insetad of that , is there any way to post failed message like "expected 1, but 
it was 2"

Thanks in advance.

Regards
Vamsi
___

[Arkie] What happens when you try

assert_equal(1,2,"expected 1, but it was 2")

I'm pretty sure that the assertions takes in an optional message to be 
displayed when the assert fails.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.2.0/757 - Release Date: 4/11/2007 5:14 PM
 
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] JS Alert from a checkbox

2007-04-13 Thread Cain, Mark
I have a JS Alert that popups from clicking a checkbox.  How can I use
the click_no_wait functionality for the 'set' method of the checkbox?

 

Thanks,


Mark L. Cain
LMIT - E*STARS(r) ~ Lead Test Engineer 
1981 Snyder, MSIN: G3-62, Richland, WA 99354
[EMAIL PROTECTED]
509.376.5458
"640 Kilobytes of computer memory ought to be enough for anybody." -
Bill Gates, 1981 

 

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] selecting an item from a list using a regular expression

2007-04-13 Thread Chris McMahon
> How does one get the value of a variable into a regular expression?

require 'test/unit'

class TC_Spike < Test::Unit::TestCase
  def test_1950

var = 1950
data = "xxx1950xxx"

assert_match(/#{var}/,data)
end
end
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] selecting an item from a list using a regular expression

2007-04-13 Thread Paul Hammer


I have items I'm trying to pick from a select list of this form:

  - 

For example, the list might be:

 4 - Denver
 5 - Atlanta
 1950 - New York City

The items in the list are always changing, and I want to pick an item by 
just the number.  So, this actually works to select the last item in the 
list above:


 @ie.select_list( :name , "groupID").select(/1950 - /)

However, I have the number (the groupDI) in a variable.  So the question is:

How does one get the value of a variable into a regular expression?

Paul Hammer

_
Download Messenger. Join the i’m Initiative. Help make a difference today. 
http://im.live.com/messenger/im/home/?source=TAGHM_APR07


___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] 'method_missing': document (WIN32OLERuntimeError)

2007-04-13 Thread Charley Baker

The gem pulls it's version number from watir.rb which gets updated when it
gets checked in. The last change was to winclicker which brings the
supporting files up to version 1165 though the gem says 1164.

-Charley

On 4/13/07, Manish Sapariya <[EMAIL PROTECTED]> wrote:


Hi,
Thanks it works. :-)
However I noted that even the site says ver 1.5.1.1165,
the actual gem file is 1164. Neverthless, it works as expected.
Thanks,
Manish

Charley Baker wrote:
> Hi Manish,
>
>   Try using the latest gem on the watir site, 1165. There's a bit of a
> work around for this issue in place until we get around to a longer
> term fix. It's the same cross site scripting frame issue which has
> been discussed on this list previously.
>
> -Charley
>
> On 4/13/07, *Manish Sapariya* <[EMAIL PROTECTED]
> > wrote:
>
> Hi,
> I am facing same problem in 1.5, not sure if its the same. I had
> sent query regarding this on list, but had no replies. It happens
> always when I do
>
> goto ("www.hotmail.com ")
>
> Is there any known bug in 1.5 latest gem?
> Any directions so that I can give more inputs to debug problem.
>
> Watir Version: watir-1.5.1.1158.
>
>
> Thanks and Regards,
> Manish
>
>
> Bret Pettichord wrote:
> > aidy lewis wrote:
> >
> >> I am getting this error:
> >>
> >> 'method_missing': document (WIN32OLERuntimeError)
> >>
> >> that lies @ie.document
> >>
> >> I am using 1.4.1.
> >>
> >> Here is my code
> >>
> >> 
> >>
> >> require 'watir'
> >> include Watir
> >> require 'test\unit'
> >>
> >> $ie = Watir:: IE.new
> >> def browser;$ie;end
> >>
> >> module Login
> >>   USERNAME = browser.text_field(:name, 'user_name')
> >>   PASSWORD = browser.text_field(:name, 'password')
> >>   REMEMBER_ME = browser.checkbox(:name, 'remember_me')
> >>   SIGN_IN = browser.button(:value, 'Sign in')
> >> end
> >>
> >> module Mission
> >>   LOG_OUT = browser.link (:text, /Log-out/)
> >> end
> >>
> >> class TC_Mission < Test::Unit::TestCase
> >>   include Login
> >>
> >>
> >>   def setup
> >> browser.goto(' www.something.com ')
> >>
> >>
> > Right here add:
> >   browser.wait
> >
> > This bug is fixed in 1.5.
> >
> >
> >> browser.bring_to_front
> >> browser.maximize
> >>   end
> >>
> >>
> >
> > ___
> > Wtr-general mailing list
> > [EMAIL PROTECTED] 
> > http://rubyforge.org/mailman/listinfo/wtr-general
> >
> >
>
> ___
> Wtr-general mailing list
> [EMAIL PROTECTED] 
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* , and
is
> believed to be clean.
> 
>
> ___
> Wtr-general mailing list
> [EMAIL PROTECTED]
> http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] 'method_missing': document (WIN32OLERuntimeError)

2007-04-13 Thread Manish Sapariya
Hi,
Thanks it works. :-)
However I noted that even the site says ver 1.5.1.1165,
the actual gem file is 1164. Neverthless, it works as expected.
Thanks,
Manish

Charley Baker wrote:
> Hi Manish,
>
>   Try using the latest gem on the watir site, 1165. There's a bit of a 
> work around for this issue in place until we get around to a longer 
> term fix. It's the same cross site scripting frame issue which has 
> been discussed on this list previously.
>
> -Charley
>
> On 4/13/07, *Manish Sapariya* <[EMAIL PROTECTED] 
> > wrote:
>
> Hi,
> I am facing same problem in 1.5, not sure if its the same. I had
> sent query regarding this on list, but had no replies. It happens
> always when I do
>
> goto ("www.hotmail.com ")
>
> Is there any known bug in 1.5 latest gem?
> Any directions so that I can give more inputs to debug problem.
>
> Watir Version: watir-1.5.1.1158.
>
>
> Thanks and Regards,
> Manish
>
>
> Bret Pettichord wrote:
> > aidy lewis wrote:
> >
> >> I am getting this error:
> >>
> >> 'method_missing': document (WIN32OLERuntimeError)
> >>
> >> that lies @ie.document
> >>
> >> I am using 1.4.1.
> >>
> >> Here is my code
> >>
> >> 
> >>
> >> require 'watir'
> >> include Watir
> >> require 'test\unit'
> >>
> >> $ie = Watir:: IE.new
> >> def browser;$ie;end
> >>
> >> module Login
> >>   USERNAME = browser.text_field(:name, 'user_name')
> >>   PASSWORD = browser.text_field(:name, 'password')
> >>   REMEMBER_ME = browser.checkbox(:name, 'remember_me')
> >>   SIGN_IN = browser.button(:value, 'Sign in')
> >> end
> >>
> >> module Mission
> >>   LOG_OUT = browser.link (:text, /Log-out/)
> >> end
> >>
> >> class TC_Mission < Test::Unit::TestCase
> >>   include Login
> >>
> >>
> >>   def setup
> >> browser.goto(' www.something.com ')
> >>
> >>
> > Right here add:
> >   browser.wait
> >
> > This bug is fixed in 1.5.
> >
> >
> >> browser.bring_to_front
> >> browser.maximize
> >>   end
> >>
> >>
> >
> > ___
> > Wtr-general mailing list
> > [EMAIL PROTECTED] 
> > http://rubyforge.org/mailman/listinfo/wtr-general
> >
> >
>
> ___
> Wtr-general mailing list
> [EMAIL PROTECTED] 
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* , and is
> believed to be clean.
> 
>
> ___
> Wtr-general mailing list
> [EMAIL PROTECTED]
> http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] 'method_missing': document (WIN32OLERuntimeError)

2007-04-13 Thread Charley Baker

Hi Manish,

 Try using the latest gem on the watir site, 1165. There's a bit of a work
around for this issue in place until we get around to a longer term fix.
It's the same cross site scripting frame issue which has been discussed on
this list previously.

-Charley

On 4/13/07, Manish Sapariya <[EMAIL PROTECTED]> wrote:


Hi,
I am facing same problem in 1.5, not sure if its the same. I had
sent query regarding this on list, but had no replies. It happens
always when I do

goto ("www.hotmail.com")

Is there any known bug in 1.5 latest gem?
Any directions so that I can give more inputs to debug problem.

Watir Version: watir-1.5.1.1158.


Thanks and Regards,
Manish


Bret Pettichord wrote:
> aidy lewis wrote:
>
>> I am getting this error:
>>
>> 'method_missing': document (WIN32OLERuntimeError)
>>
>> that lies @ie.document
>>
>> I am using 1.4.1.
>>
>> Here is my code
>>
>> 
>>
>> require 'watir'
>> include Watir
>> require 'test\unit'
>>
>> $ie = Watir::IE.new
>> def browser;$ie;end
>>
>> module Login
>>   USERNAME = browser.text_field(:name, 'user_name')
>>   PASSWORD = browser.text_field(:name, 'password')
>>   REMEMBER_ME = browser.checkbox(:name, 'remember_me')
>>   SIGN_IN = browser.button(:value, 'Sign in')
>> end
>>
>> module Mission
>>   LOG_OUT = browser.link(:text, /Log-out/)
>> end
>>
>> class TC_Mission < Test::Unit::TestCase
>>   include Login
>>
>>
>>   def setup
>> browser.goto('www.something.com')
>>
>>
> Right here add:
>   browser.wait
>
> This bug is fixed in 1.5.
>
>
>> browser.bring_to_front
>> browser.maximize
>>   end
>>
>>
>
> ___
> Wtr-general mailing list
> [EMAIL PROTECTED]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Looping with excel worksheets

2007-04-13 Thread Charley Baker

Hi Nicola,

 Put it in a method and call the method from within a loop:

require 'watir'
include Watir

url = "http://www.zoomerang.com/recipient/survey.zgi?p=WEB225WDYJNVDT";
search_string = "questionnaire"

$ie = IE.new
$ie.goto(url)
$ie.bring_to_front
#ie.show_all_objects

require 'win32ole'

def fill_fields(worksheet_no)

 excel = WIN32OLE::new('excel.Application')
 workbook = excel.Workbooks.Open('C:\WATIR_RUBY\excel_testdata5.xls')

 worksheet = workbook.Worksheets(worksheet_no) #get hold of the first
worksheet
 worksheet.Select
 @mydata = []
 @mydata = worksheet.Range('a1:a6').value # The data is in cell a1 - a6
 excel['Visible'] = false # hide the spreadsheet from view
 workbook.close
 excel.Quit


 $ie.text_field(:name, 'u_answer_58').set(@mydata[0].to_s)
 $ie.text_field(:name, 'u_answer_59').set(@mydata[1].to_s)
 $ie.text_field(:name, 'u_answer_60').set(@mydata[2].to_s)
 $ie.text_field(:name, 'u_answer_61').set(@mydata[3].to_s)
 $ie.text_field(:name, 'u_answer_62').set(@mydata[4].to_s)
 $ie.text_field(:name, 'u_answer_63').set(@mydata[5].to_s)
end

# call the method:
for i in 1..5
 fill_fields(i)
end


Note that I've changed ie to $ie making it global so it's visible inside the
method.


-Charley

On 4/13/07, Nicola Kennedy <[EMAIL PROTECTED]> wrote:


Hi,

Have written following script (which works! I'm getting there!)
I now want to put a loop in so that when this is complete, it goes to the
second worksheet in my excel file, basically starting the process from the
beginning again and then inputs this information in the same fields.

Can anyone help?

TIA

require 'watir'
include Watir

url = "http://www.zoomerang.com/recipient/survey.zgi?p=WEB225WDYJNVDT";
search_string = "questionnaire"

ie = IE.new
ie.goto(url)
ie.bring_to_front
#ie.show_all_objects

require 'win32ole'

excel = WIN32OLE::new('excel.Application')
workbook = excel.Workbooks.Open
('C:\WATIR_RUBY\excel_testdata5.xls')


worksheet = workbook.Worksheets(1) #get hold of the first
worksheet
worksheet.Select
@mydata = []
@mydata = worksheet.Range('a1:a6').value # The data is in cell a1
- a6
excel['Visible'] = false # hide the spreadsheet from view
workbook.close
excel.Quit


ie.text_field(:name, 'u_answer_58').set(@mydata[0].to_s)
ie.text_field(:name, 'u_answer_59').set(@mydata[1].to_s)
ie.text_field(:name, 'u_answer_60').set(@mydata[2].to_s)
ie.text_field(:name, 'u_answer_61').set(@mydata[3].to_s)
ie.text_field(:name, 'u_answer_62').set(@mydata[4].to_s)
ie.text_field(:name, 'u_answer_63').set(@mydata[5].to_s)
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Good 'wrapper' sample

2007-04-13 Thread John Lolis
I had some time to kill this morning so I decided to toss together another 
'sample'. I know when I start learning something new there is nothing better 
then working examples that I can modify and see how they break, so here you go.

This is a 'wrapper' for the Google website. I wrote it with the intention of 
show a number of different things about ruby. The goal is that you should be 
able to take the 'Google' class and quickly generate new scripts from it.

Run it, update it, modify it and have some fun :)



require 'watir'
include Watir

# A wrapper for our global ie object
# contains some special logic for creating a new IE if one doesnt' exist
def browser
if $ie == nil or !$ie.exists?
$ie = IE.new
else
$ie
end
end

# I found that the search box and the search button are the same on the home 
page
# and the results page, so I made a module to hold them both
module Generic_Search_Functions
def search_box( search_string )
browser.text_field(:name, 'q').set( search_string )
end

def google_search()
browser.button(:name, 'btnG').click
end
end

# This class handles issues dealing with the results page
class Results
# this includes the functions in the module
include Generic_Search_Functions

# Since the buttons are named differently I wrapped it
# this is just calling the function in the above module
def search()
google_search()
end

# click the next button, handle it not being there
def next()
element = browser.div(:id, 'nn')
if element.exists?
element.click
else
puts 'End of the list'
end
end

# click the previous button, handle it not being there
def previous()
element = browser.div(:id, 'np')
if element.exists?
element.click
else
puts 'Start of the list'
end 
end

# this just outputs the href for the search results
# if it can't find it, it lets you know
def search_result(index)
element = 
browser.div(:index,'2').div(:index,'1').link(:index,index)

if element.exists?
puts element.href
else
puts 'Unable to find element'
end
end
end

# here is our main class, google
# it contains both the module and the results class
class Google
# heres that module again!
include Generic_Search_Functions

# lets define our url in here
# lets also create a results object so we have access to it
def initialize()
@url = 'http://www.google.com'
@results = Results.new()
end

# o, magic!
attr_accessor :results

# this navigates us to the page and checks to make sure the logo is 
there
def go()
browser.goto(@url)
wait_until{ browser.image(:src, /logo.gif/).exists? }
end

# wrapper for the I'm feeling Lucky botton
def im_feeling_lucky()
browser.button(:name, 'btnI').click
end
end

# create our new google object
google = Google.new()

# go to the website
google.go

# Input some text into the search box (this function is from the module)
google.search_box('Cats')

# click search (this is from the module also)
google.google_search()

# show us the href of the first link
google.results.search_result(1)

# next page please!
google.results.next()

# show us the href of first link on this page
google.results.search_result(1)

# lets go page, i liked those results better
google.results.previous()

# How about the second link, maybe its better
google.results.search_result(2)

# change the search!
google.results.search_box('Dogs')

# click!
google.results.search()

# maybe this is what i really wanted!
google.results.search_result(1)
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] How to post a failed message when the assert fails

2007-04-13 Thread John Lolis
I'm noticing this question or very similar questions get posted a lot here 
(which means its a good question). I would search through the old posts and 
read what others said, there has been some very good posts on the subject. 
Below I'm posting a chunk of code that should help you answer your own question 
(i hope!). 

Also, its very early, so i may miss the mark on this, I hope it helps!

def test_1
begin
1 / 0
rescue
puts 'Error'
end
end

def test_2
begin
1 / 0
rescue => e
puts e
end
end

def test_3
1 / 0
end

def test_4
begin
1 / 0
rescue
false
end

true
end

test_1
test_2

begin
test_3
rescue => e
puts "An error hash occured: #{e}"
end

puts test_4
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] Looping with excel worksheets

2007-04-13 Thread Nicola Kennedy
Hi,

Have written following script (which works! I'm getting there!)
I now want to put a loop in so that when this is complete, it goes to the 
second worksheet in my excel file, basically starting the process from the 
beginning again and then inputs this information in the same fields.

Can anyone help?

TIA

require 'watir'
include Watir

url = "http://www.zoomerang.com/recipient/survey.zgi?p=WEB225WDYJNVDT";
search_string = "questionnaire"

ie = IE.new
ie.goto(url)
ie.bring_to_front
#ie.show_all_objects

require 'win32ole'

excel = WIN32OLE::new('excel.Application')
workbook = excel.Workbooks.Open('C:\WATIR_RUBY\excel_testdata5.xls')


worksheet = workbook.Worksheets(1) #get hold of the first worksheet
worksheet.Select
@mydata = []
@mydata = worksheet.Range('a1:a6').value # The data is in cell a1 - a6
excel['Visible'] = false # hide the spreadsheet from view
workbook.close
excel.Quit


ie.text_field(:name, 'u_answer_58').set(@mydata[0].to_s)
ie.text_field(:name, 'u_answer_59').set(@mydata[1].to_s)
ie.text_field(:name, 'u_answer_60').set(@mydata[2].to_s)
ie.text_field(:name, 'u_answer_61').set(@mydata[3].to_s)
ie.text_field(:name, 'u_answer_62').set(@mydata[4].to_s)
ie.text_field(:name, 'u_answer_63').set(@mydata[5].to_s)
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] How to post a failed message when the assert fails

2007-04-13 Thread Željko Filipin

Hi Vamsi,

Try this:

irb(main):006:0> a = 1
=> 1
irb(main):007:0> b = 2
=> 2
irb(main):008:0> puts "expected #{a}, but it was #{b}" unless a == b
expected 1, but it was 2
=> nil

Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How to post a failed message when the assert fails

2007-04-13 Thread vamsi
Hi

I am using this function : assert_equal(1,2) -->  when i execute this 
imeediatley will get the error message and stops the script execution.

insetad of that , is there any way to post failed message like "expected 1, but 
it was 2"

Thanks in advance.

Regards
Vamsi
___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] 'method_missing': document (WIN32OLERuntimeError)

2007-04-13 Thread Manish Sapariya
Hi,
I am facing same problem in 1.5, not sure if its the same. I had
sent query regarding this on list, but had no replies. It happens
always when I do

goto ("www.hotmail.com")

Is there any known bug in 1.5 latest gem?
Any directions so that I can give more inputs to debug problem.

Watir Version: watir-1.5.1.1158.


Thanks and Regards,
Manish


Bret Pettichord wrote:
> aidy lewis wrote:
>   
>> I am getting this error:
>>
>> 'method_missing': document (WIN32OLERuntimeError)
>>
>> that lies @ie.document
>>
>> I am using 1.4.1.
>>
>> Here is my code
>>
>> 
>>
>> require 'watir'
>> include Watir
>> require 'test\unit'
>>
>> $ie = Watir::IE.new
>> def browser;$ie;end
>>
>> module Login
>>   USERNAME = browser.text_field(:name, 'user_name')
>>   PASSWORD = browser.text_field(:name, 'password')
>>   REMEMBER_ME = browser.checkbox(:name, 'remember_me')
>>   SIGN_IN = browser.button(:value, 'Sign in')
>> end
>>
>> module Mission
>>   LOG_OUT = browser.link(:text, /Log-out/)
>> end
>>
>> class TC_Mission < Test::Unit::TestCase
>>   include Login
>>
>>
>>   def setup
>> browser.goto('www.something.com')
>>   
>> 
> Right here add:
>   browser.wait
>
> This bug is fixed in 1.5.
>
>   
>> browser.bring_to_front
>> browser.maximize
>>   end
>>   
>> 
>
> ___
> Wtr-general mailing list
> [EMAIL PROTECTED]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>   

___
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general