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.
- data/lib/bindable_block/version.rb +1 -1
- data/lib/bindable_block.rb +4 -4
- metadata +1 -1
data/lib/bindable_block.rb
CHANGED
@@ -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
|
|