Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed readme back from 'options' to 'initialize'

  • Loading branch information...
commit efbda494fac4d4168f9b09ca365b089b48e41ceb 1 parent 616ba1f
Mark Evans authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.