First  |  Prev |  Next  |  Last
Pages: 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
openssl. question about ec
Hi all, I have a question about openssl library Here it is. 'Security on rails' book has a sample require 'openssl' include OpenSSL private_key2 = PKey::RSA.new(File.read("host.key")) cert2 = X509::Certificate.new(File.read('host.crt')) input = "Test string" signature2 = private_key2.sign(OpenSSL::Diges... 28 Jul 2010 07:26
Problem in loop do
Hi please explain me with example in "loop do" , diffrence between "redo" and "next". tnx -- Posted via http://www.ruby-forum.com/. ... 28 Jul 2010 15:09
Accessing object in rescue block
Hi, when I rescue an exception, is there a way to access the object where the exception was raised? For example: begin "something".nonexistent rescue NoMethodError => e # here end In the rescue block, can I access the String "something"? Best, Florian -- Posted via http://www.ruby-forum.com/... 30 Jul 2010 05:19
Thanks a bunch!
Thanks everyone! Truly appreciate it! -- Posted via http://www.ruby-forum.com/. ... 28 Jul 2010 02:02
Thanks a lot!
Thanks guys! Truly appreciate it! -- Posted via http://www.ruby-forum.com/. ... 28 Jul 2010 02:02
why i can't get the value out of each block?
a=[1,2,0,10] a.each.with_index{|item,idx| begin puts 10/item rescue print "it is my wrong ",item,idx,"\n" x=item end} puts "x=",x the output is :NameError: undefined local variable or method `x' for main:Object why i can't get the value out of each block? -- Posted via http://www.ruby-forum.com/. ... 27 Jul 2010 23:52
ironruby forums?
anyone know any good IronRuby specific forums? And am curious, how does the general community feel about this brand in general? ... 29 Jul 2010 19:35
multidimensional array insert syntax
Hi, Can anyone help me with the correct syntax to insert into a multidimensional array... answer_choices = [ [incorrect_ans_2, incorrect_anno_2], [incorrect_ans_3, incorrect_anno_3], [incorrect_ans_4, incorrect_anno_4], [incorrect_ans_5, incorrect_anno_5] ] # Randomly insert correct answer. ... 28 Jul 2010 09:38
tool to compare DB schema against DDL file
First of all any feedback from you guys will be of tremendous help. I'm looking for a good topic for my thesis (to major in Computer Engineering) and at the same time I'm encountering a problem in my current job. Simply stated: I have a DDL file that describes the entire Data Model of an application. We us... 30 Jul 2010 01:02
Chat client
hello i was learning about ruby and on the book i am reading it shows the part where i can create a chatserver with Gserver well lookingon the internet shows the server code everywhere. but when i am trying to do a chat client it always failed on me. i wouldl ike that it works like a conection with telnet or w... 28 Jul 2010 20:39
First  |  Prev |  Next  |  Last
Pages: 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35