Skip to content

Commit

Permalink
Updated the readme to support unnamed steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Sep 11, 2012
1 parent 3fb2316 commit d04a21c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -169,10 +169,10 @@ We also need an initializer to set the formula up.

```ruby
# app/initializer.rb
Hero::Formula[:gather_news].add_step :hacker_news, GatherNews::HackerNews.new
Hero::Formula[:gather_news].add_step :reddit, GatherNews::Reddit.new
Hero::Formula[:gather_news].add_step :google, GatherNews::Google.new
Hero::Formula[:gather_news].add_step :email, GatherNews::Email.new
Hero::Formula[:gather_news].add_step GatherNews::HackerNews.new
Hero::Formula[:gather_news].add_step GatherNews::Reddit.new
Hero::Formula[:gather_news].add_step GatherNews::Google.new
Hero::Formula[:gather_news].add_step GatherNews::Email.new
```

Now we have a well structured application thats ready to grow.
Expand Down

0 comments on commit d04a21c

Please sign in to comment.