Skip to content
Browse files

#data_for is an instance method

  • Loading branch information...
1 parent ff8c743 commit ef7f45de45508a3fac135afd0f6ae24d466e4a5a @bak bak committed Aug 26, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
3 README.md
@@ -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

0 comments on commit ef7f45d

Please sign in to comment.
Something went wrong with that request. Please try again.