From: 7stud -- Date: 2009-07-20T07:48:03+09:00 Subject: Re: external html page include Sam Ginko wrote: > How? with a File.Open()?. I'm new to ruby so I'm not sure if that is > what I should do. > You could write: f = File.open("page.htm") f.read() or you could combine that into one line: File.open("page.htm").read() or you could use the shortcut: IO.read("page.htm") -- Posted via http://www.ruby-forum.com/.