Sha256: d9287e6dd487b86534621195a8e5b6ef2af763c254145be2039cf18d7fff4174

Contents?: true

Size: 642 Bytes

Versions: 135

Compression:

Stored size: 642 Bytes

Contents

package com.xruby.runtime.lang;

public abstract class RubyConstant extends RubyBasic {
    public static RubyConstant QFALSE = new RubyConstant(RubyRuntime.FalseClassClass) {
        public boolean isTrue() {
            return false;
        }
    };

    public static RubyConstant QTRUE = new RubyConstant(RubyRuntime.TrueClassClass) {
        public boolean isTrue() {
            return true;
        }
    };

    public static RubyConstant QNIL = new RubyConstant(RubyRuntime.NilClassClass) {
        public boolean isTrue() {
            return false;
        }
    };

    private RubyConstant(RubyClass c) {
    	super(c);
    }
}

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-7.5.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-7.4.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-7.1.17 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-6.2.0 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-6.0.11 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.18 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.17 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.15 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.0.22 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.0.7 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.0.3 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-5.5.0 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
tauplatform-1.0.3 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
tauplatform-1.0.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
tauplatform-1.0.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-3.5.1.12 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-3.3.5 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java
rhodes-3.4.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyConstant.java