once-ler 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. data/lib/onceler/basic_helpers.rb +1 -1
  2. metadata +1 -1
@@ -54,7 +54,7 @@ module Onceler
54
54
  bang = each_method.sub!(/!\z/, '')
55
55
  each_method = (each_method + "_each" + (bang ? "!" : "")).to_sym
56
56
  define_method(each_method) do |name = nil, &block|
57
- send method, name, &block
57
+ send method, name, :each, &block
58
58
  end
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: once-ler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: