Permalink
Browse files

Merge pull request #250 from oreoshake/249_misleading_docs

Issue 249 - programmatic examples didn't work
  • Loading branch information...
netzpirat committed Mar 1, 2012
2 parents 2e34275 + c0e65e3 commit 43b8733eb964fb5dc0df571ba8c90cd6aa23bb38
Showing with 2 additions and 4 deletions.
  1. +2 −4 README.md
View
@@ -818,8 +818,7 @@ Evaluate a `Guardfile`:
require 'guard'
Guard.setup
-Guard::Dsl.evaluate_guardfile(:guardfile => '/path/to/Guardfile')
-Guard.start
+Guard.start(:guardfile => '/path/to/Guardfile')
```
Evaluate a string as `Guardfile`:
@@ -835,8 +834,7 @@ guardfile = <<-EOF
end
EOF
-Guard::Dsl.evaluate_guardfile(:guardfile_contents => guardfile)
-Guard.start
+Guard.start(:guardfile_contents => guardfile)
```
Issues

0 comments on commit 43b8733

Please sign in to comment.