1 /*2 * TrueNodeCompiler.java3 *4 * Created on January 12, 2007, 12:58 PM5 *6 * To change this template, choose Tools | Template Manager7 * and open the template in the editor.8 */9 10 package org.jruby.compiler;11 12 import org.jruby.ast.Node;13 14 /**15 *16 * @author headius17 */18 public class TrueNodeCompiler implements NodeCompiler {19 20 /** Creates a new instance of TrueNodeCompiler */21 public TrueNodeCompiler() {22 }23 24 public void compile(Node node, Compiler context) {25 context.lineNumber(node.getPosition());26 27 context.loadTrue();28 }29 30 }31