once-ler 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
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: