Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions truffle/src/main/ruby/core/fixnum.rb
Original file line number Diff line number Diff line change
@@ -34,6 +34,9 @@

class Fixnum

# Have a copy in Fixnum of the Integer version, as MRI does
public :even?, :odd?, :succ

def left_shift_fallback(other)
# Fallback from Rubinius' Fixnum#<<, after the primitive call

0 comments on commit 23eb994

Please sign in to comment.