File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
src/main/ruby/truffleruby/core Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Compatibility:
21
21
* Implemented ` rb_enc_sprintf ` (#1702 ).
22
22
* Implemented ` ENV#{filter,filter!} ` aliases for ` select ` and ` select! ` .
23
23
* Non-blocking ` StringIO ` and ` Socket ` APIs now support ` exception: false ` like MRI (#1702 ).
24
+ * Added ` Kernel#then ` (#1703 ).
24
25
25
26
Changes:
26
27
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ fails:Public methods on IO should not include encode_with
27
27
fails:Public methods on IO should not include nonblock
28
28
fails:Public methods on IO should not include nonblock=
29
29
fails:Public methods on IO should not include nonblock?
30
- fails:Public methods on Kernel should include then
31
30
fails:Public methods on Numeric should include clone
32
31
fails:Public methods on Numeric should include dup
33
32
fails:Public methods on Range should include %
Original file line number Diff line number Diff line change @@ -483,6 +483,8 @@ def yield_self
483
483
end
484
484
end
485
485
486
+ alias_method :then , :yield_self
487
+
486
488
def test ( cmd , file1 , file2 = nil )
487
489
case cmd
488
490
when ?d
You can’t perform that action at this time.
0 commit comments