Skip to content

Commit

Permalink
[Truffle] main.inspect.should == "main"
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 31, 2014
1 parent 7fcb6a3 commit 62bb382
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -42,7 +42,7 @@ public RubyNilClass include(VirtualFrame frame, Object[] args) {
}
}

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

public ToSNode(RubyContext context, SourceSection sourceSection) {
Expand Down

0 comments on commit 62bb382

Please sign in to comment.