Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Apr 16, 2014
1 parent a01e443 commit c92676d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand All @@ -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|
Expand Down

0 comments on commit c92676d

Please sign in to comment.