How to remove leading from string Lucky Nl wrote: Hi I Need small help that how to remove leading tags My text is: str = "<p>Welcome to ruby </p> <p> </p>" I want result is str = "<p>Welcome to ruby</p>" Can anybody help You mean trailing, rather than leading? You probably wa... 3 Aug 2010 10:19
running memprof on ree 2010.02, gives a segmentation fault have opened a issue at: http://github.com/ice799/memprof/issues/issue/7 The installation of memprof was successful. And is on a virtualized on a XEN instance. uname -a Linux foo-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux ruby -v ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBAR... 2 Aug 2010 08:07
[ANN] io_splice 2.2.0 - updates for Linux 2.6.35 The splice family of Linux system calls can transfer data between file descriptors without the need to copy data into userspace. Instead of a userspace buffer, they rely on an ordinary Unix pipe as a kernel-level buffer. * http://bogomips.org/ruby_io_splice/ * ruby.io.splice(a)librelist.com * git://git.bogomips.... 2 Aug 2010 04:54
scite hi, I want seperate use of scite so i taken the source and scite editor run but i cannot able to execute any ruby script. I have not installed it with ruby. I had taken source seperatly and run scite application. Please let me know if any of you have any idea. Thanks, Priyank Shah -- Posted via ht... 3 Aug 2010 09:13
How to remove leading from string Hi I Need small help that how to remove leading tags My text is: str = "<p>Welcome to ruby </p> <p> </p>" I want result is str = "<p>Welcome to ruby</p>" Can anybody help -- Posted via http://www.ruby-forum.com/. ... 2 Aug 2010 18:03
S3 2010 Workshop on Self-sustaining Systems (Call for Papers) Hi, Submission dead line was extended: Submission of papers: *EXTENDED* August 13, 2010 Regards, Koichi ====================================================================== *** Workshop on Self-sustaining Systems (S3) 2010 *** September 27-28, 2010 The University of Tokyo, Japan http://www.hpi.uni-... 2 Aug 2010 04:54
Shoes: Stacks and Flows I'm still learning Shoes -- working on basic formatting. I'm a little confused, though, with the results of this code: app = Shoes.app do background "#FFFFFF" flow :width => 1.0 do stack do para "North America" button("View") do end end stack do para "Europe" ... 3 Aug 2010 01:40
Ruby 1.9 I want to install ruby 1.9, but what is the best method of doing this (on Mac OS X), and will all of my old code from 1.8.7 work in 1.9 (assuming I reinstall all the gems)? -- Posted via http://www.ruby-forum.com/. ... 1 Aug 2010 23:32
Lazy array [Note: parts of this message were removed to make it a legal post.] How can I get a lazy array in Ruby? E.g., in Haskell, I can talk about [1..], which is an infinite list, lazily generated as needed. I can also do things like "iterate (+2) 0", which applies whatever function I give it to generate a lazy list. I... 2 Aug 2010 23:31
[ANN] RubyConf registration and Call For Proposals now open! Hi everyone -- You can now register for RubyConf, and the Call For Proposals for conference talks is also open. More details and links at http://www.rubyconf.org. Registration is at the early-bird rate of $300 until September 1, then the regular rate of $350. See you in New Orleans! David -- Dav... 1 Aug 2010 18:05 |