Skip to content
Permalink
Browse files
[Truffle] Symbol#id2name is Symbol#to_s.
  • Loading branch information
eregon committed Jan 26, 2015
1 parent ac6458c commit d9577f93837a14c2e6fc6cff4fa425778edcc7e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 truffle/src/main/java/org/jruby/truffle/nodes/core/SymbolNodes.java
@@ -171,7 +171,7 @@ public RubySymbol toSym(RubySymbol symbol) {

}

@CoreMethod(names = "to_s")
@CoreMethod(names = { "to_s", "id2name" })
public abstract static class ToSNode extends CoreMethodNode {

public ToSNode(RubyContext context, SourceSection sourceSection) {

0 comments on commit d9577f9

Please sign in to comment.