Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10 from bak/bak

doc fixes
  • Loading branch information...
commit f49dc8fa39782ff7540a3fee1fc36a7423776dd0 2 parents 386a342 + ef7f45d
@cheezy authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
5 README.md
@@ -33,7 +33,7 @@ class MyPage
...
- def populage_page
+ def populate_page
populate_page_with data_for :my_page
end
end
@@ -52,7 +52,8 @@ Your data might look something like this:
In order to access the data directly you can just call the method on the module like this:
````ruby
- my_data = DataMagic.data_for :my_test
+ page = MyPage.new
+ my_data = page.data_for :my_test
````
## Data generators
Please sign in to comment.
Something went wrong with that request. Please try again.