bindable_block 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class BindableBlock
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -8,6 +8,10 @@ class BindableBlock
8
8
  new(args, instance_method).call
9
9
  end
10
10
 
11
+ def call
12
+ result
13
+ end
14
+
11
15
  private
12
16
 
13
17
  attr_reader :args, :parameters, :result
@@ -42,10 +46,6 @@ class BindableBlock
42
46
  def has_rest?
43
47
  @has_splat
44
48
  end
45
-
46
- def call
47
- result
48
- end
49
49
  end
50
50
 
51
51
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bindable_block
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: