|
First
|
Prev |
Next
|
Last
Pages: 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
Piping data in on the command line [Note: parts of this message were removed to make it a legal post.] Hello all, I know you can get command line args using ARGV, but is there a way to use the '<' operator to pipe data into your program, as in ruby myprog.rb < ~/myfile.txt -- James Coglan http://github.com/jcoglan ... 11 Jul 2008 15:05
type specific operator Hi all, Ruby is a dynamically typed language so it checks at run time the type of the variable and calls corresponding operator. For example "x + y" will be checked for type of x and y if both will be fixnum then corresponding addition action will be performed if both are strings the corresponding appending action... 9 Jul 2008 09:35
Next Generation Test Management System Dear Friends, We are coming on the heels of a very successful beta program with passionate feedback from over 30 beta customers and software engineers. We are launching a superior cost effective product aimed at a large global SMEs and Testing Vendors with Innovative Testing Desktops, Real Time Collaboration an... 9 Jul 2008 02:26
watch actress sexy photo from movie clips and watch actress profile ***************************************** http://priyamaniforyou.blogspot.com/ ***************************************** watch actress sexy photo from movie clips and watch actress profile ***************************************** http://priyamaniforyou.blogspot.com/ ***************************************** ... 9 Jul 2008 02:26
'ab\c' and 'ab\\c' I encountered a rather peculiar behavior of strings today. Here is my irb session: ------------------------------------------------------------------- irb(main):001:0> 'ab\c' irb(main):002:0' ' SyntaxError: compile error (irb):2: unterminated string meets end of file from (irb):2 irb(main):003:0> 'ab\\c... 9 Jul 2008 12:40
eval bug? > But is that still a bug in eval? Jabari My question is why does eval("b = 6") print b err and b = nil eval("b = 6") print b succeed? Eval has its own sub-scope? Note also that eval("b = 6", binding) print b also fails. Is this intended, or just a side-effect of the 'parse then execu... 9 Jul 2008 01:25
[ANN] Slide Show (S9) Gem Now Includes S6 - Easier to Understand andExtend S5 Rewrite Hello, The Ruby Slide Show (S9) gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that's easy-to-write and easy-to-read has switched the default S9-generated slide shows to S6 since the FullerScreen Firefox addon hasn't been updated for the latest Firefox 3... 8 Jul 2008 22:21
require 'socket' returns false in windows? I have two windows computers that return false when the following statement is executed: require 'socket' Both computers are XP loaded with 1.8.6 via the one click installer. On one of the windows machines I am able to disable the firewall which makes no difference. The other windows machine does not have a ... 8 Jul 2008 18:14
face detection in picture Hi there, Could any body could recommend any ruby library that has the ability to detect faces in images.Any help would be appricated. thanks, Jim -- Posted via http://www.ruby-forum.com/. ... 8 Jul 2008 16:11
Help! Hi i want install Ruby on Rails in Windows XP but i have a problem: I have install in my pc Ruby 1.8.6-26 Final Release but when i try to install rails with this command: gem install rails --include-dependencies the following error apears: Bulk updating Gem source index for: http://gems.rubyforge.org and i need ins... 8 Jul 2008 18:14 |