Send Text w/ Ruby I'm curious if it is possible to send text to a window or web application. I am using the firewatir library, but I don't think you can do it with that, so just wondering if it is possible with Ruby itself. Thanks! ... 5 Aug 2010 13:32
Return value problem Hi What is happen for return value in these 2 codes ? (Please analysis for me result of these 2 codes) ---------------------------- def test1(name) puts "Hello"+name end def test2(name) puts "Hello"+name 1+1 end return_value1 = test1("amir") puts return_value1 return_value2 = test2("amir") ... 4 Aug 2010 20:10
Default arguments problem Hi How can I have a method with 3 arguments so that only second argument is a default argument for example: def sum(p,q=2,r) puts p+q+r end (I want to use from this method with only 2 arguments : first argument and third argument ) -- Posted via http://www.ruby-forum.com/. ... 4 Aug 2010 16:53
ruby watir on Win2008R2 is this possible? i'm running in to LoadErrors and i've done all of the things that are suppose to get around this problem... ... 5 Aug 2010 14:39
A little problem Hi What is difference between these 2 codes ? (when I executed these codes result was the same ) --------------------- def welcome1( name ) puts "Hello#{name}" end def welcome2( name ) puts "Hello"+name end welcome1( Amir ) welcome2( Amir ) --------------------- -- Posted via http://www.ruby-fo... 4 Aug 2010 16:53
[ANN] Call for Participation for 2010 Workshop on Scheme and Functional Programming Here is the final program for the 2010 Workshop on Scheme and Functional Programming. For the abstracts please check the website (http://www.iro.umontreal.ca/~sfp2010). To take advantage of the early registration price, please register by ***AUGUST 9***. Marc Feeley Saturday, August 21 8:15 On-site re... 4 Aug 2010 13:35
can't inline calendar for some reason Can anyone tell a newbie why this doesn't produce output in an Apache 2.2 cgi script? `/usr/bin/calendar`.each do |a| print a end I have nearly identical code that DOES work above and below this line, both, including date, cal, uptime and /usr/games/fortune. FWIW, this was WORKING code until I upgraded to Ub... 4 Aug 2010 12:29
Error with Gem Outdated command John T. wrote: (realized this should have been posted here, not the Rails group...) Trying to run 'gem outdated' on OS X (10.6.3) and I'm getting: Not one to bump topics, but I'm still getting this error.. and it's been 2 months... Thanks John T. wrote: Trying to run 'gem outdated' on OS X (10.6... 4 Aug 2010 09:12
Rails3 Engines (mountable apps) Hello, I've a question about Rails 3 Engines. I'm looking everywhere for good documentation on this subject, but didn't find it. I'm trying to create a mountable app (embedding a Rails application in another Rails application). Both the 'base' application and the 'embedded' application are created with rails3.... 5 Aug 2010 02:40
Ruby PRAWN PDF Is there a simpler code to set the Headers and Footers on all N pages in a PDF file that is generated by PRAWN Plugin. the codes are to be written in a "report.pdf.prawn" file, which is a direct coding area of the PDF view page The below are the codes in the file report.pdf.prawn pdf.text "Creation Date... 4 Aug 2010 07:03 |