Sha256: d64b340e302397377487e8c1cf67bc045d7fbdde2ff50b29151d1f5dd372ba82
Contents?: true
Size: 881 Bytes
Versions: 135
Compression:
Stored size: 881 Bytes
Contents
/** * Copyright 2007 Ye Zheng * Distributed under the BSD License */ package com.xruby.runtime.lang; public class RubyIncludeClass extends RubyClass { private RubyModule module; public RubyIncludeClass(RubyModule module, RubyClass superclass) { super(null, superclass, null); if (module instanceof RubyIncludeClass) { module = ((RubyIncludeClass)module).module; } this.setRubyClass(RubyRuntime.ClassClass); this.module = module; this.methods_ = module.methods_; this.constants_ = module.constants_; this.instance_varibles_ = module.instance_varibles_; // this.class_varibles_ = module.class_varibles_; } public boolean isRealClass() { return false; } public RubyModule getIncludedModule() { return this.module; } }
Version data entries
135 entries across 135 versions & 2 rubygems