File tree 2 files changed +18
-6
lines changed
2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -2230,10 +2230,22 @@ method_clone(VALUE self)
2230
2230
*/
2231
2231
2232
2232
2233
+ /* Document-method: Method#[]
2234
+ *
2235
+ * call-seq:
2236
+ * meth[args, ...] -> obj
2237
+ *
2238
+ * Invokes the <i>meth</i> with the specified arguments, returning the
2239
+ * method's return value, like #call.
2240
+ *
2241
+ * m = 12.method("+")
2242
+ * m[3] #=> 15
2243
+ * m[20] #=> 32
2244
+ */
2245
+
2233
2246
/*
2234
2247
* call-seq:
2235
2248
* meth.call(args, ...) -> obj
2236
- * meth[args, ...] -> obj
2237
2249
*
2238
2250
* Invokes the <i>meth</i> with the specified arguments, returning the
2239
2251
* method's return value.
@@ -3479,8 +3491,8 @@ rb_method_compose_to_left(VALUE self, VALUE g)
3479
3491
* meth >> g -> a_proc
3480
3492
*
3481
3493
* Returns a proc that is the composition of this method and the given <i>g</i>.
3482
- * The returned proc takes a variable number of arguments, calls <i>g</i> with them
3483
- * then calls this method with the result.
3494
+ * The returned proc takes a variable number of arguments, calls this method
3495
+ * with them then calls <i>g</i> with the result.
3484
3496
*
3485
3497
* def f(x)
3486
3498
* x * x
Original file line number Diff line number Diff line change 2
2
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
3
3
#define RUBY_VERSION_TEENY 1
4
4
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
5
- #define RUBY_PATCHLEVEL 83
5
+ #define RUBY_PATCHLEVEL 84
6
6
7
7
#define RUBY_RELEASE_YEAR 2020
8
- #define RUBY_RELEASE_MONTH 3
9
- #define RUBY_RELEASE_DAY 31
8
+ #define RUBY_RELEASE_MONTH 6
9
+ #define RUBY_RELEASE_DAY 7
10
10
11
11
#include "ruby/version.h"
12
12
You can’t perform that action at this time.
0 commit comments