Skip to content

Commit

Permalink
Merge pull request #10 from bak/bak
Browse files Browse the repository at this point in the history
doc fixes
  • Loading branch information
cheezy committed Aug 31, 2013
2 parents 386a342 + ef7f45d commit f49dc8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MyPage


... ...


def populage_page def populate_page
populate_page_with data_for :my_page populate_page_with data_for :my_page
end end
end end
Expand All @@ -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: In order to access the data directly you can just call the method on the module like this:


````ruby ````ruby
my_data = DataMagic.data_for :my_test page = MyPage.new
my_data = page.data_for :my_test
```` ````


## Data generators ## Data generators
Expand Down

0 comments on commit f49dc8f

Please sign in to comment.