First  |  Prev |  Next  |  Last
Pages: 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
Why no TextMate for Linux? (corrected)
Sorry for the double-post... accidentally hit ctrl+enter before it was finished. On Friday 12 March 2010 05:39:29 pm David Masover wrote: On Thursday 11 March 2010 06:50:07 am Diego Virasoro wrote: I'm much more interested in it on a personal level. Switching text editors at this point might be, f... 12 Mar 2010 19:32
[ANN] The Compleat Rubyist / June 18-19 2010
Still suck at Ruby and want to get better? Can you be in the Chicago area on June 18-19? Then we can help! http://thecompleatrubyist.com/ == The Event The Compleat Rubyist is a unique 2 day training event ran by David A. Black, Gregory Brown, and Jeremy McAnally. If you attend, you'll be part of a great... 12 Mar 2010 18:25
Hpricot Relative Path
[Note: parts of this message were removed to make it a legal post.] I'm trying to write a script that pulls out an image from a yfrog page So this is what I have require 'rubygems' require 'hpricot' require 'open-uri' url = 'http://yfrog.com/03gssacj' doc = Hpricot(open(url)) (doc%"#main_image").attr... 12 Mar 2010 18:25
Ruby Regexp implementation?
This probably doesn't belong in Ruby Core. I was reading this article: http://swtch.com/~rsc/regexp/regexp1.html http://swtch.com/~rsc/regexp/regexp2.html http://swtch.com/~rsc/regexp/regexp3.html And in the first few lines of the first page, it shows that the Regexp implementation for Perl is absolutely terribl... 12 Mar 2010 18:25
Clone array elements
How to create the repeat method: [:one, "two", 3].repeat(3) Result: [:one, :one, :one, "two", "two", "two", 3, 3, 3] Thanks. -- Posted via http://www.ruby-forum.com/. ... 15 Mar 2010 05:41
how to check the file field empty
hi, How to check the file selected or not while uploading form in ruby or empty file selected Regards, Raju -- Posted via http://www.ruby-forum.com/. ... 12 Mar 2010 08:17
how to get word from sentence
Hi all, In my application i have to get the word which contains given word. example sentence: iam testung the aplication i want to extract the word which starts with test how to do this -- Posted via http://www.ruby-forum.com/. ... 12 Mar 2010 08:17
Beware prelink and compiling ruby from source
[Note: parts of this message were removed to make it a legal post.] All, Putting this in the ruby-talk ML just to have it searchable in case others run into this problem. On some redhat based distros, if you compile ruby 1.9.1 from source and install it as /usr/bin/ruby and have the "prelink" rpm installed,... 11 Mar 2010 20:13
result of assignment is not the return value
Given a simple class like this class MyClass attr_reader :value def value=(val) @value = val.to_s end end Why the the following code return the value passed and not the value assigned? c = MyClass.new result = c.value = 2 puts result puts c.value This is currently outputing 2 "2" T... 12 Mar 2010 02:50
Each_char
Hello Im new to ruby and programming and I saw a guy do this on a tutorial video: "Hello".each_char do |x| puts x end The result was that it printed one letter in the string at a time until it had printed the whole word "Hello" in a vertical line. My problem is that this wont work when I try it and I've... 11 Mar 2010 17:58
First  |  Prev |  Next  |  Last
Pages: 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157