First
|
Prev |
Next
|
Last
Pages: 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
ya config file parser I'm wondering how to extend the config-yaml parser at http://www.mjijackson.com/2010/02/flexible-ruby-config-objects so I can write to the file through the variable. right now it works like this: yaml_data = " --- database: mydb auth: user: myuser pass: mypass " require 'yaml' config = Config.new(... 20 Apr 2010 15:50
[ANN] pipeliner 1.1 released The pipeliner library provides framework for message passing between objects. It allows objects to hook into the pipeline to receive certain types of objects, and process them in any way they see fit. An overview and more information in the README: http://github.com/spox/pipeliner Changes in 1.1 version: ... 20 Apr 2010 15:50
Yanked 'ansicode' gem; use 'ansi' instead This is just a simple FYI, since there is no way that I know of to post a notice to the gem's rubygems.org page. I finally yanked the 'ansicode' gem. If you were using this gem, please switch to the 'ansi' gem, its designated successor. The difference in usage is very simple. ANSI::Code instead of AN... 20 Apr 2010 15:50
Using variables defined in configuration files Greetings all, I recently posted about how to import a configuration file. I got this as a reply: load File.join(ENV['HOME'], '.myconfrc') file ~/.myconfrc: $interval = 15 But when I go to run it, I get this: test.rb:3: unterminated string meets end of file test.rb:3: syntax error, unexpected tSTRI... 20 Apr 2010 15:50
Proposing a Ruby Packaging Standard On Apr 20, 3:35 am, Christian Neukirchen <chneukirc...(a)gmail.com> wrote: Hello, earlier this month I wrote up a draft for a specification on how to structure Ruby projects. It started athttp://gist.github.com/361451 and there was lots of discussion there, which I now want to move to ruby-talk to gai... 5 May 2010 10:24
how to redirect to a url that is stored inside a variable I am trying to redirect to an url by using the method redirect_to but the URL is stored in a variable. i tried to give some thing like this redirect_to (@redirectURL) but it dint worked Plz help me out Thanks sreevarshini -- Posted via http://www.ruby-forum.com/. ... 20 Apr 2010 15:50
Ruby Summer of Code 2010 Ruby Summer of Code is still accepting student applications! Continuing in Googles great tradition of encouraging student open source development, Ruby Central, Engine Yard, and the Rails core team are teaming up to present the first annual Ruby Summer of Code. Head over to http://rubysoc.org to get started an... 23 Apr 2010 20:50
Strings - foovs.. foo[-1,0] ? I think that finally helped, thanks. It is a lot easier for my brain if I use the word *marker* as well. :) -- Posted via http://www.ruby-forum.com/. ... 20 Apr 2010 15:50
AES decrypt without PKCS padding? Aaron D. Gifford wrote: I need to do some decryption of data encrypted with Rijndael (AES) but that is NOT PKCS padded. I can't use openssl, as it chokes on data that isn't padded PKCS-style. And I tried the all-Ruby crypt gem and it seems to have issues on my system running 1.9.1 (I haven't analyzed wh... 20 Apr 2010 15:50
ya config file parser Roberto Cm wrote: -- The problem with the save method is .. well actually nothing, I need that too :) But I want to not have to explicitly call save, and instead have the object detect changes and behave dynamically -- ie, assignment to the config instance should write directly to disk as well as to the ... 20 Apr 2010 15:50 |