Skip to content
Browse files

method to_sym removed from Fixnum

  • Loading branch information...
1 parent 6aeb302 commit 832f9903e40d06c82a00a433ae94aa6d299ecb4b @BloodyD BloodyD committed Mar 27, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/kernel/bootstrap/Fixnum.rb
View
3 src/kernel/bootstrap/Fixnum.rb
@@ -97,7 +97,8 @@ def clone
# to_s inherited from Integer
- primitive 'to_sym', '_rubyToSym'
+ # ruby 1.9 has no to_sym method for Fixnums
+ # primitive 'to_sym', '_rubyToSym'
def zero?
self._equal?(0)

1 comment on commit 832f990

@jc00ke
jc00ke commented on 832f990 Mar 27, 2013

Curious as to why you just commented it out and didn't delete it completely?

Please sign in to comment.
Something went wrong with that request. Please try again.