Permalink
Browse files

Changed readme back from 'options' to 'initialize'

  • Loading branch information...
1 parent 616ba1f commit efbda494fac4d4168f9b09ca365b089b48e41ceb Mark Evans committed Aug 14, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -84,14 +84,14 @@ This generates:
Using arguments
---------------
-You can pass in arguments to the helper, and these will be passed through to the class's `options` method.
+You can pass in arguments to the helper, and these will be passed through to the class's `initialize` method.
In the helper:
module MyHelper
class MyBlockHelper < ActionView::BlockHelper
- def options(tag_type)
+ def initialize(tag_type)
@tag_type = tag_type
end

0 comments on commit efbda49

Please sign in to comment.