markevans-block_helpers 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -2
- data/VERSION +1 -1
- data/block_helpers.gemspec +1 -1
- metadata +1 -1
data/README.markdown
CHANGED
@@ -84,14 +84,14 @@ This generates:
|
|
84
84
|
Using arguments
|
85
85
|
---------------
|
86
86
|
|
87
|
-
You can pass in arguments to the helper, and these will be passed through to the class's `
|
87
|
+
You can pass in arguments to the helper, and these will be passed through to the class's `initialize` method.
|
88
88
|
In the helper:
|
89
89
|
|
90
90
|
module MyHelper
|
91
91
|
|
92
92
|
class MyBlockHelper < ActionView::BlockHelper
|
93
93
|
|
94
|
-
def
|
94
|
+
def initialize(tag_type)
|
95
95
|
@tag_type = tag_type
|
96
96
|
end
|
97
97
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
data/block_helpers.gemspec
CHANGED