Skip to content

Commit

Permalink
[Truffle] Module#define_method should be private.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Apr 7, 2015
1 parent d8f644e commit be01825
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -933,7 +933,7 @@ public Object setConstant(RubyModule module, String name, Object value) {

}

@CoreMethod(names = "define_method", needsBlock = true, required = 1, optional = 1)
@CoreMethod(names = "define_method", needsBlock = true, required = 1, optional = 1, visibility = Visibility.PRIVATE)
@NodeChildren({ @NodeChild("module"), @NodeChild("name"), @NodeChild("proc"), @NodeChild("block") })
public abstract static class DefineMethodNode extends RubyNode {

Expand Down

0 comments on commit be01825

Please sign in to comment.