markevans-block_helpers 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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