> > Those aren't parentheses, they're braces, which means you're passing a > block > to it. > You have to use ( instead of { . > > contents= File.read("test1.txt") Yes, I'm an idiot. Thank you very much. I need really big glasses. -- Posted via http://www.ruby-forum.com/.