First  |  Prev |  Next  |  Last
Pages: 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
how to read password from keyboard
Hi everyone! If I want to read a simple string from keyboard: simple_text = gets What if a password needs to be read from keyboard (commando line)? How do I mask it with asterisks? Regards, Bruno -- Posted via ... 30 Jul 2010 08:34
London Ruby Contractor Needed
I need a ruby contractor for a high profile site in London. Initially 2 months but likely to extend to 6. If you're interested please email call Richard on 01926 487487. Skills are: • Ruby • Merb • AJAX • Google Analytics • Amazon Web Services... 29 Jul 2010 14:04
wxruby dialog box, not centering on parent
Trying to center a messagebox on the parent instead of on whole screen. Read the docs, they say to use #center_on_parent before calling _modal. Doesnt seem to work, any ideas? ------------------------------ require 'rubygems' require 'wx' include Wx class MyFrame < Frame def initialize() super(nil,-1,'... 29 Jul 2010 11:52
[Note: parts of this message were removed to make it a legal post.] ... 29 Jul 2010 11:52
Documentation on embedding ruby?
Hi. I would like to embed ruby interpreter into my C application, but I can't find any info on this :( Chapter in pickax book is very small and doesn't provide enough information. I've also found couple of embedding libraries via google, but they all are outdated or not documented. So the question is: are ther... 29 Jul 2010 19:35
ruport, reading a csv whose column name have white spaces
hi there, i am not a expert with ruby at all. this is my first post, i do hope it's at right place, please advise otherwise. i have some dump reporting to do. The input is a csv file. i figured rupert could be my friend. i got it up and running with the following # instanciate the csv reading stuff t = T... 6 Aug 2010 12:40
hash key (?)
Hiya Im going through the Ruby Cookbook. On page 51, there is the following example letter = { ?v => 'aeiou', ?c => 'xyz' } My question is, what does the key ?v do or mean. Kind Regards Brent Clark ... 29 Jul 2010 09:40
my script just read one line?
Dear all, My script tried to read from one original tsv file and distribute into new multiple tsv files. Each line of the original file is like this: time_1, signal_1, time_2, signal_2... time_4096, signal_4096. I would like to write them into file_1, file_2, ... file_4096 accordingly, and these files contain... 6 Aug 2010 07:09
implementing multiple "constructors" in ruby
On Thu, Jul 29, 2010 at 2:54 AM, <> wrote: So I have a class that I may want to instantiate multiple ways. Here's the signatures of the some so far:  def create_from_file(absolute_filename, archive_filename, fsg=nil, verbose=false, debug=false)  def create_from_pa... 29 Jul 2010 03:10
undefined method `each' for (installing gem)
I frequently get this error. Halp? C:\Documents and Settings\Owner\My Documents\My Dropbox\Code>gem install sinatra Successfully installed sinatra-1.0 1 gem installed Installing ri documentation for sinatra-1.0... Updating ri class cache with 2857 classes... Installing RDoc documentation for sinatra-1.0.... 29 Jul 2010 20:42
First  |  Prev |  Next  |  Last
Pages: 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33