Since 5/7/2012 11:21:50 PM, tobiasreif has written 5 articles and participated in 10 conversations. tobiasreif signature: tobiasreif
tobiasreif's articles:
Items(5) /1
Using user supplied string String#include?126 (9/17/2007 3:53:31 PM) comp.lang.ruby Hi In a web app that will soon be out there in the vast and partially evil web, I might take a string which a user supplied via an HTML form, and use it roughly like this: some_str.downcase.include?(user_su... Tobi
simple one-liners: last line missing527 (3/13/2006 4:46:50 PM) comp.lang.ruby Hi Let's say I'd want to modify each line of a file. Here's the dummy data: $ cat data.txt first foo second foo third foo $ This works: $ ruby -ne '$_ =~ /(\S+)\s+(\S+)/;puts "#{$2} #{$1}"' data... Tobi
how to get the list of all classes?836 (9/4/2003 7:36:26 PM) comp.lang.ruby Hi I'm writing a syntax highlighting program [code] for Ruby code listings in XML (eg DocBook) documents. To get the global variables I do puts Kernel.global_variables and to get the names of some common m... Tobias
backtick calls on Windows (9*)077 (9/4/2003 3:25:21 PM) comp.lang.ruby Hi I'm disappointed to see that stuff like www.ruby-talk.org/9739 and www.ruby-talk.org/10006 still is required with the latest version of Ruby on Windows. Over the years there have been many long threads al... Tobias
Enterprise ruby applications231 (9/4/2003 1:44:31 PM) comp.lang.ruby Hi all. I'm looking for evidence to present Ruby as a suitable language for "enterprise" development. By that I mean building large, robust solutions, typically interfacing with legacy systems, often with an... dan5640(10)
how to get the list of all classes?836 (9/4/2003 7:36:26 PM) comp.lang.ruby Hi I'm writing a syntax highlighting program [code] for Ruby code listings in XML (eg DocBook) documents. To get the global variables I do puts Kernel.global_variables and to get the names of some common m... tobiasreif(15)
Correction: "religious"1123 (9/5/2003 6:59:33 PM) comp.lang.ruby It has come to my attention that the word religious can, indeed, be correctly used in contexts that have nothing to do with God. The word "religious" apparently can also be used to mean "strict" or as a refe... dcarrera1(182)
simple one-liners: last line missing527 (3/13/2006 4:46:50 PM) comp.lang.ruby Hi Let's say I'd want to modify each line of a file. Here's the dummy data: $ cat data.txt first foo second foo third foo $ This works: $ ruby -ne '$_ =~ /(\S+)\s+(\S+)/;puts "#{$2} #{$1}"' data... tobiasreif(15)