From c92676d8a1f7c9a75fe2b25da9c2eaa64a245e2a Mon Sep 17 00:00:00 2001 From: Jan Graichen Date: Wed, 16 Apr 2014 21:38:37 +0200 Subject: [PATCH] Update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2745bb2..bb4f2bf 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Add `rubypath` to your Gemfile, `gemspec` or install manually. Using `Path` with file and directory methods: -``` +```ruby base = Path '/path/to/base' src = base.mkpath 'project/src' src.touch 'Rakefile' @@ -20,7 +20,7 @@ src.mkdir('lib').mkdir('mylib').touch('version.rb') Using IO: -``` +```ruby src.write "module Mylib\n VERSION = '0.1.0'\nend" src.lookup('project.yml').read @@ -31,7 +31,7 @@ src.lookup('project.yml').read Wrap specific or just all specs in a virtual filesystem: -``` +```ruby # spec_helper.rb config.around(:each) do |example|