File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
src/main/ruby/truffleruby/core Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,6 @@ fails:Public methods on Mutex should not include marshal_dump
53
53
fails:Public methods on Thread should not include freeze
54
54
fails:Public methods on Thread should include add_trace_func
55
55
fails:Public methods on Thread should include set_trace_func
56
- fails:Public methods on Proc should not include block
57
- fails:Public methods on Proc should not include block=
58
- fails:Public methods on Proc should not include bound_method
59
- fails:Public methods on Proc should not include bound_method=
60
- fails:Public methods on Proc should not include ruby_method
61
- fails:Public methods on Proc should not include ruby_method=
62
- fails:Public methods on Proc should include hash
63
56
fails:Public methods on MatchData should include hash
64
57
fails:Public methods on Method should include clone
65
58
fails:Public methods on Method should include original_name
Original file line number Diff line number Diff line change 35
35
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
36
37
37
class Proc
38
- attr_accessor :block
39
- attr_accessor :bound_method
40
- attr_accessor :ruby_method
41
-
38
+ alias_method :hash , :hash
42
39
alias_method :=== , :call
43
40
44
41
def curry ( curried_arity = nil )
You can’t perform that action at this time.
0 commit comments