Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Truffle] Symbol#id2name is Symbol#to_s.
  • Loading branch information
eregon committed Jan 26, 2015
1 parent ac6458c commit d9577f9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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) {
Expand Down

0 comments on commit d9577f9

Please sign in to comment.