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 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 `options` method.
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 options(tag_type)
94
+ def initialize(tag_type)
95
95
  @tag_type = tag_type
96
96
  end
97
97
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{block_helpers}
5
- s.version = "0.2.5"
5
+ s.version = "0.2.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Mark Evans"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markevans-block_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Evans