First  |  Prev |  Next  |  Last
Pages: 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
Nokogiri and xpath for changing value on the web
ruby 1.8.6 Ubuntu 8.04 nokogiri 1.4.0 Hi. I am trying to get a number(Nikkei 225) from the web site, "Google Finance". It's a number that indicates the average of major stock prices, which changes in real-time. http://www.google.com/finance?q=INDEXNIKKEI:.N225 here is the code I tried. -----------------... 21 Dec 2009 03:43
DESTROY in ruby
Hello, Does ruby have a DESTROY method in its class? like, class Myclass def DESTROY something end end Thanks. ... 21 Dec 2009 03:43
[ANN] mms2r 2.4.0 Released
mms2r version 2.4.0 has been released! * <http://mms2r.rubyforge.org/> * <by Mike Mondragon> * <http://rubyforge.org/tracker/?group_id=3065> * <http://github.com/monde/mms2r> * <http://peepcode.com/products/mms2r-pdf> ## DESCRIPTION MMS2R is a library that decodes the parts of an MMS message to disk while ... 20 Dec 2009 18:00
which project should I work on?
Gordon Thiesfeld wrote: On Sep 25, 2009, at 6:17 PM, Roger Pack <rogerpack2005(a)gmail.com> wrote: Are there any other gems that people use that they wish could become 1.9 compat? Win32console Ruby-snarl All righty got ruby-snarl updated :) Can't seem to push it to gemcutter as of... 19 Jan 2010 15:46
ruby in twenty minutes not work
in ruby offical site two links doesnot work.do you know reasons? 1- ruby in 20 minutes second page not open. 2 - tryruby.hobix.com : not open . i could open it 1 month ago. but during tutorial i couldnot write square brackets [ ] in destop and notebook keyboard. also some special signs like # {} " cannaot wri... 19 Dec 2009 23:35
grep a block
Hi, Please can anybody tell how to grep a block? between 2 string i had few lines of code example: <mms:MmsCcppAccept> 1 2 3 4 5 </mms:MmsCcppAccept> i've tried that way but its not working, see below my code: --- #!/usr/bin/ruby filename = ARGV[0] File.open(filename).each do |line| if ... 19 Dec 2009 09:25
problem requiring gems under 1.9.1 mingw
I have both 1.8.6 and 1.9.1 (both mingw under windows). My code requires windows-api, which requires win32-api. It works under 1.8. Under 1.9, I get : F:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/api.rb:1:in `require': no such file to load -- win32-api (LoadError) from F:/Ruby19/li... 18 Dec 2009 13:52
Suggestion of Array#=== which improves case/when behavio
"Set" class has meaning close to "Range" class. If we will define Set#=== as class Set def ===( arg ) self.any?{|template| template === arg } end end we will be able to write case/when code in haskell-like pattern-matching style. here is an example of simple s-expression evaluator from my page: ... 20 Dec 2009 22:21
how to alias keywords?
It's easy to alias method names. Is there a way I can alias keywords like if or end? I want to localize Ruby code to another human language for learning/educational purposes. Any way I can get ruby or to understand new synonyms for keywords? -- Posted via http://www.ruby-forum.com/. ... 17 Dec 2009 23:40
Trouble running sample script with Shoooes
I just downloaded Shoes and put the files in a directory on my windows XP box. When I run the sample scripts, I always get the error: uninitialized constant Shoes (NameError) I tried adding the directory to my Windows path but that didn't help. I looked everywhere and can't find any detailed installation i... 17 Dec 2009 12:36
First  |  Prev |  Next  |  Last
Pages: 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186