Forum: Ruby Jun 4th, 2009 |
| Replies: 3 Views: 1,705 What are names starting with the ":", are they variables, constants or something else?
drjay |
Forum: Ruby Jun 3rd, 2009 |
| Replies: 2 Views: 2,342 well i figured it out btw. so for anyone in the future looking to do something similar to the java code above:
#arguments
inFile = ARGV[0]
outFile = ARGV[1]
def foo(infile, outfile)... |
Forum: Ruby May 26th, 2009 |
| Replies: 2 Views: 2,342 i'm a java c/c++ person. trying out ruby for the 1st time!
how do i do something like this in ruby:
//this is java
public static void main ( String args [] ) {
File inFile = new File (... |