Exemple #1
0
 private void classVarNode(ClassVarNode node) {
   sb.append(" ").append(node.getName());
 }
 @Override
 public RubyNode visitClassVarNode(org.jruby.ast.ClassVarNode node) {
   final SourceSection sourceSection = translate(node.getPosition());
   return new ReadClassVariableNode(
       context, sourceSection, node.getName(), new SelfNode(context, sourceSection));
 }