First  |  Prev |  Next  |  Last
Pages: 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
Write whitespace to a file
Hi, I need to write many whitespaces to a file, what is the best way to do that. For example, I have f.puts " abc" and there are 5 whitespaces before abc, what is the best way to do this instead of typing 5 whitspaces? Thanks -- Posted via http://www.ruby-forum.com/. ... 22 May 2010 10:31
Write whitespace to a file
[Note: parts of this message were removed to make it a legal post.] Well you could do f.puts ' '*5 + 'abc' On Wed, May 19, 2010 at 07:49, John Wu <j_wu_76(a)yahoo.com> wrote: Hi, I need to write many whitespaces to a file, what is the best way to do that. For example, I have f.puts " abc" and th... 22 May 2010 10:31
64 bit ruby interpreter
Since when does 64bit ruby interpreter exists? Last year I didn't find those. Were they recently developed? -- Posted via http://www.ruby-forum.com/. ... 22 May 2010 10:32
[ANN] Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2
Hi. Now, you can download a trial version of Ruby/Tk-Kit for RubyInstaller 1.9.1p378rc2 (tested on Windows XP). Ruby/Tk-Kit version of tcltklib.so includes full environment of Tcl/Tk. So, you don't need to install Tcl/Tk on your windows box. You can download at http://www.dumbo.ai.kyutech.ac.jp/~nagai/RubyTk... 22 May 2010 10:31
Read text file and check multiple checkbox
Hi Friends, I try to check the Multiple Checkboxes in the page. first i read the value in the text file and assing it to the variable. but the problem is that at the time only one check box are selected. textfile values: selectedLocationOids=0000025354000000630d selectedLocationOids=00000252710000006... 22 May 2010 10:31
Read text file and check multiple checkbox
KingMaker KingMaker wrote: Hi Friends, I try to check the Multiple Checkboxes in the page. first i read the value in the text file and assing it to the variable. but the problem is that at the time only one check box are selected. textfile values: selectedLocationOids=0000025354000000... 22 May 2010 10:31
Executing Password Change over Ruby Net-SSH
Hi all, I am looking to execute a password change over Net-ssh and this code seems to hang: Net::SSH.start(server_ip, "user", :verbose => :debug ) do |session| session.process.popen3("ls") do |input, output, error| ["old_pass","test", "test"].each do |x| input.puts x end en... 22 May 2010 10:31
passing values from partial to controller
My partial: <tr> <td class="people_profile"> <div class="clear_float_effect"> <div class="profile_block"> <p> <span title="Click to edit" id="edit_location"> <%= link_to grouprow.group_name %> </span> <a href="#" class="short_description_text btn" ... 22 May 2010 10:31
Scrape javascript content
I'm trying to scrape a page that hides some data behind a javascript function. Is there any way to get this data? I've been using Mechanize, but I'm not sure it can do this. Is there a better library to use for this type of thing? The following is the interesting part of the page: <td class="colPlus" onclic... 27 May 2010 01:40
XmlSimple not working
Dear Friends, I have installed xml-simple(1.0.12) in my system. When i tried to run an sample using xml-simple, i getting error like this. require 'rubygems' require 'xmlsimple' con = XmlSimple.xml_in("<opt username='bob'/>") testing.rb:3: undefined method `xml_in' for XmlSimple:Class (NoMethodError) ... 22 May 2010 10:31
First  |  Prev |  Next  |  Last
Pages: 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104