From 2bb5d6d954a0c0eb3c6d254b9776c7a027cf77fc Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 25 Jul 2011 20:46:23 -0400 Subject: [PATCH] starting to work through chapter 14 of oreilly cookbook, maybe backtracking here and there --- cookbook/014/01.rb | 3 +++ cookbook/{ => preface}/sample_ruby_file.rb | 0 2 files changed, 3 insertions(+) create mode 100644 cookbook/014/01.rb rename cookbook/{ => preface}/sample_ruby_file.rb (100%) diff --git a/cookbook/014/01.rb b/cookbook/014/01.rb new file mode 100644 index 0000000..47fe622 --- /dev/null +++ b/cookbook/014/01.rb @@ -0,0 +1,3 @@ +require 'open-uri' +head = open('http://www.oreilly.com/').read(200) +puts head diff --git a/cookbook/sample_ruby_file.rb b/cookbook/preface/sample_ruby_file.rb similarity index 100% rename from cookbook/sample_ruby_file.rb rename to cookbook/preface/sample_ruby_file.rb