You cannot post messages because only members can post, and you are not currently a member.
Description:
This is a mirror list of the offical ruby-talk mailing list. It serves as a alternative to the mail<->news gateway (comp.lang.ruby). It exists to provide access to the mailing list via the convenience of Google Groups web-based client.
|
|
|
IMPORTANT: Posting to the ruby-talk ML through Google Groups
   
|
| |
Important Notice for Google Group users. You will need to be subscribed to ruby-talk ML even when posting through the Google Groups web interface. If you aren't subscribed to the ML Google Groups will NOT warn you. Your mail will be lost. Detailed information on how to subscribe to ruby-talk without... more »
|
|
Rspec windows gem not running on 1.9 ?
|
| |
Hi All, My spec files work on 1.8. Running on 1.9.1-p243 (mingw) with rspec-1.2.9, I get a GC error : ---- F:\dev\ruby\DMX>rake ruby19:spec (in F:/dev/ruby/DMX) 1.9.1 [BUG] cross-thread violation on rb_gc() ruby 1.8.6 (2009-08-04) [i386-mingw32] This application has requested the Runtime to terminate it in an unusual... more »
|
|
Signal example
|
| |
Hi, Can anybody provide a ruby signal example ? I am running a simple program contains, ...sleep (10) trap.Signal('SIGNIT') { proc to handle signal } ...If i will do (Ctrl + c), it should go to proc . But its not working. Does anybody have working example? Thanks in advance.
|
|
More on psuedo arrays; Better way?
|
| |
Newbie here: Consider: N_X_METHODS = 20 class X 20.times do |i| define_method "x%02d=" % i do |arg| # the puts, below, is just a placeholder for a more complicated method puts "Hi " + i.to_s + arg.to_s end end end m = Array.new(N_X_METHODS) do |i| ("x%02d=" % i).to_sym end p m... more »
|
|
Problem with calling an exe in the script
|
| |
I am not able able to start a thread which checks the pop-ups in the background. I used this code but doesn't seem to work... x=Thread.new do system("c:\\CVPN_Automation\\p opupHandler\\popupHandler.exe" ) end Any suggestions?
|
|
I can't seem to find an easy way to set Net::HTTP GET params
|
| |
Hello, I'm sure this is a newb question, but I've spent the last two hours trying to figure out how to set the query paramters on an HTTP GET request. Right now I am doing something like this: def call() Net::HTTP.start(@base_url) do |http| response = http.get(@uri) puts "Code = #{response.code}"... more »
|
|
Windows 7 can't install rails...
|
| |
I'm sorry to be so ignorant, but; I can't seem to get started and learn more. c:\ruby\bin>gem install rails ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 403 c:\ruby\bin>gem list --remote *** REMOTE GEMS *** ERROR: While executing gem ... (Gem::RemoteSourceException)... more »
|
|
Blank lines in terminal
|
| |
I have an IRC bot I wrote, and I would like to have it so that in the console window, the bottom one or two lines are always blank. In other words, I want puts/print to output to the second line from the bottom instead of the bottommost line. I am aware that this could be done with curses/ncurses, but I have been... more »
|
|
newbie question
|
| |
Hello I noticed the following example somewhere def mymethod(opts) p opts end mymethod(:aaa => "something") I'm wondering what this :aaa stands for. If I omit the colon before the dummy aaa, it doesn't works. Thanks for any hint/light.
|
|
Pseudo array for Rails migration
|
| |
Consider N_X = 20 # size of pseudo array class CreatePeople < ActiveRecord::Migration create_table :people do |t| t.string :first_name , :null => false . . . t.integer :x00 t.integer :x01 t.integer :x02 . . . t.integer :x18... more »
|
|
OCR of PDF-documents using GData
|
| |
Hi, Has anybody been able to perform OCR on a pdf document using GData? [link] Png and jpgs work fine after setting @client.version = '3' in GData::Client::DocList but when I try pdf-files I get: ...xmlns='[link]>... more »
|
|
|