given_keyword_args 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/given_keyword_args/given_keyword_args.c +0 -5
- data/lib/given_keyword_args/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5fed71179fcb84f9e9bceb9a637de3dbc1fe4a2
|
4
|
+
data.tar.gz: 69c18b7b37286ff0a764b9e2e0f1b005e1466714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfeb19196ecfe27f01f0aa6fc3aca7cef84c2e9da76c588203552106655114fdcebf0d7ed5a39d9fae2c8927c53c2a952bab4531b7e38557b1cbc6cad347a0f6
|
7
|
+
data.tar.gz: 87f7d219189f4c0fca43ee13141195da0b1f0ad79c1163e2dad47605b8921bb6bff0e02d863dbeae4033282acd55ad70624af9514c0b52a047caeac74d16bae1
|
@@ -1,12 +1,9 @@
|
|
1
1
|
#include <ruby.h>
|
2
|
-
#include <ruby/intern.h>
|
3
2
|
|
4
3
|
static VALUE
|
5
4
|
ruby_given_keyword_args(VALUE self)
|
6
5
|
{
|
7
6
|
VALUE binding = rb_binding_new();
|
8
|
-
VALUE fname = rb_frame_callee();
|
9
|
-
VALUE mname = rb_funcall(self, rb_intern("__method__"), 0);
|
10
7
|
return rb_funcall(self, rb_intern("__given_keyword_args__"), 2, binding, Qfalse);
|
11
8
|
}
|
12
9
|
|
@@ -14,8 +11,6 @@ static VALUE
|
|
14
11
|
ruby_given_keyword_args_with_rest(VALUE self)
|
15
12
|
{
|
16
13
|
VALUE binding = rb_binding_new();
|
17
|
-
VALUE fname = rb_frame_callee();
|
18
|
-
VALUE mname = rb_funcall(self, rb_intern("__method__"), 0);
|
19
14
|
return rb_funcall(self, rb_intern("__given_keyword_args__"), 2, binding, Qtrue);
|
20
15
|
}
|
21
16
|
|