bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 3,235,054 |
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 3,235,055 |
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 3,235,056 |
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 3,235,057 |
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 3,235,058 |
public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | public GetMethodBodyResult getMethodBody(RubyId id, int noex) { GetMethodBodyResult result = new GetMethodBodyResult(this, id, noex); MethodNode methodNode = searchMethod(id); if (methodNode == null || methodNode.getBodyNode() == null) { System.out.println( "Cant find method \"" + id.toName() + "\" in class " ... | 3,235,059 |
public RubyMap getMethods() { return this.methods; } | public RubyMap getMethods() { return this.methods; } | 3,235,060 |
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 3,235,061 |
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 3,235,062 |
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 3,235,063 |
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 3,235,064 |
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 3,235,065 |
public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | public RubyModule getSingletonClassClone() { if (!isSingleton()) { return this; } RubyModule clone = new RubyClass(getRuby(), getSuperClass()); clone.setupClone(this); clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); //clone.setMethods(); // st_foreach(RCLASS(klass)->m_tbl, clone_method, clo... | 3,235,066 |
public RubyModule getSuperClass() { return this.superClass; } | public RubyModule getSuperClass() { return this.superClass; } | 3,235,067 |
public void includeModule(RubyModule rubyModule) { if (rubyModule == null || rubyModule == this) { return; } /* Fixed to Ruby 1.6.5 */ for (RubyModule actClass = this; rubyModule != null; rubyModule = rubyModule.getSuperClass()) { for (RubyModule rbClass = actClass.getSuperClass(); rbClass != null; r... | public void includeModule(RubyModule rubyModule) { if (rubyModule == null || rubyModule == this) { return; } /* Fixed to Ruby 1.6.5 */ for (RubyModule actClass = this; rubyModule != null; rubyModule = rubyModule.getSuperClass()) { for (RubyModule rbClass = actClass.getSuperClass(); rbClass != null; r... | 3,235,068 |
public void includeModule(RubyModule rubyModule) { if (rubyModule == null || rubyModule == this) { return; } /* Fixed to Ruby 1.6.5 */ for (RubyModule actClass = this; rubyModule != null; rubyModule = rubyModule.getSuperClass()) { for (RubyModule rbClass = actClass.getSuperClass(); rbClass != null; r... | public void includeModule(RubyModule rubyModule) { if (rubyModule == null || rubyModule == this) { return; } /* Fixed to Ruby 1.6.5 */ for (RubyModule actClass = this; rubyModule != null; rubyModule = rubyModule.getSuperClass()) { for (RubyModule rbClass = actClass.getSuperClass(); rbClass != null; r... | 3,235,069 |
public boolean isClass() { return false; } | public boolean isClass() { return false; } | 3,235,070 |
public boolean isClassVarDefined(RubyId id) { RubyModule tmp = this; while (tmp != null) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } tmp = tmp.getSuperClass(); } return false; } | public boolean isClassVarDefined(RubyId id) { RubyModule tmp = this; while (tmp != null) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } tmp = tmp.getSuperClass(); } return false; } | 3,235,071 |
public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | 3,235,072 |
public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | 3,235,073 |
public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | 3,235,074 |
public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | public boolean isConstantDefined(RubyId id) { for (RubyModule tmp = this; tmp != null; tmp = tmp.getSuperClass()) { if (tmp.getInstanceVariables() != null && tmp.getInstanceVariables().get(id) != null) { return true; } } if (isModule()) { return getRuby().getClasses().getObjectClass().isConstantDefined(... | 3,235,075 |
public boolean isIncluded() { return this.included; } | public boolean isIncluded() { return this.included; } | 3,235,076 |
private boolean isMethodBound(RubyId id, int ex) { RubyMethodCacheEntry entry = RubyMethodCacheEntry.getEntry(getRuby(), this, id); if (entry != null) { if (ex != 0 && (entry.getNoex() & Constants.NOEX_PRIVATE) != 0) { return false; } else if (entry.getMethod() == null) { return false; } else { return... | private boolean isMethodBound(RubyId id, int ex) { RubyMethodCacheEntry entry = RubyMethodCacheEntry.getEntry(getRuby(), this, id); if (entry != null) { if (ex != 0 && (entry.getNoex() & Constants.NOEX_PRIVATE) != 0) { return false; } else if (entry.getMethod() == null) { return false; } else { return... | 3,235,077 |
private boolean isMethodBound(RubyId id, int ex) { RubyMethodCacheEntry entry = RubyMethodCacheEntry.getEntry(getRuby(), this, id); if (entry != null) { if (ex != 0 && (entry.getNoex() & Constants.NOEX_PRIVATE) != 0) { return false; } else if (entry.getMethod() == null) { return false; } else { return... | private boolean isMethodBound(RubyId id, int ex) { RubyMethodCacheEntry entry = RubyMethodCacheEntry.getEntry(getRuby(), this, id); if (entry != null) { if (ex != 0 && (entry.getNoex() & Constants.NOEX_PRIVATE) != 0) { return false; } else if (entry.getMethod() == null) { return false; } else { return... | 3,235,078 |
public boolean isModule() { return !isIncluded(); } | public boolean isModule() { return !isIncluded(); } | 3,235,079 |
public boolean isSingleton() { return this.singleton; } | public boolean isSingleton() { return this.singleton; } | 3,235,080 |
public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | 3,235,081 |
public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | 3,235,082 |
public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | 3,235,083 |
public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | public RubyArray m_ancestors() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { if (p.isSingleton()) { continue; } if (p.isIncluded()) { ary.push(p.getRubyClass()); } else { ary.push(p); } } return ary; } | 3,235,084 |
public RubyObject m_append_features(RubyModule module) { module.includeModule(this); return this; } | public RubyObject m_append_features(RubyModule module) { module.includeModule(this); return this; } | 3,235,085 |
public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); } | public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); } | 3,235,086 |
public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); } | public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); } | 3,235,087 |
public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); } | public RubyObject m_attr(RubySymbol symbol, RubyObject[] args) { boolean writeable = false; if (args.length > 0) { writeable = args[0].isTrue(); } addAttribute(symbol.toId(), true, writeable, true); return getRuby().getNil(); } | 3,235,088 |
public RubyObject m_attr_accessor(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, true, true); } return getRuby().getNil(); } | public RubyObject m_attr_accessor(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, true, true); } return getRuby().getNil(); } | 3,235,089 |
public RubyObject m_attr_accessor(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, true, true); } return getRuby().getNil(); } | public RubyObject m_attr_accessor(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, true, true); } return getRuby().getNil(); } | 3,235,090 |
public RubyObject m_attr_reader(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, false, true); } return getRuby().getNil(); } | public RubyObject m_attr_reader(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, false, true); } return getRuby().getNil(); } | 3,235,091 |
public RubyObject m_attr_reader(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, false, true); } return getRuby().getNil(); } | public RubyObject m_attr_reader(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), true, false, true); } return getRuby().getNil(); } | 3,235,092 |
public RubyObject m_attr_writer(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), false, true, true); } return getRuby().getNil(); } | public RubyObject m_attr_writer(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), false, true, true); } return getRuby().getNil(); } | 3,235,093 |
public RubyObject m_attr_writer(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), false, true, true); } return getRuby().getNil(); } | public RubyObject m_attr_writer(RubyObject[] args) { for (int i = 0; i < args.length; i++) { addAttribute(((RubySymbol) args[i]).toId(), false, true, true); } return getRuby().getNil(); } | 3,235,094 |
public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | 3,235,095 |
public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | 3,235,096 |
public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | 3,235,097 |
public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | 3,235,098 |
public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | public RubyArray m_class_variables() { RubyArray ary = RubyArray.m_newArray(getRuby()); RubyModule rbModule = this; if (isSingleton()) { rbModule = ((RubyObject) rbModule.getInstanceVar("__atached__")).getClassVarSingleton(); } while (rbModule != null) { if (rbModule.getInstanceVariables() != null) { It... | 3,235,099 |
public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | 3,235,100 |
public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | 3,235,101 |
public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | 3,235,102 |
public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | 3,235,103 |
public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | 3,235,104 |
public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | public RubyObject m_clone() { RubyModule clone = new RubyModule(getRuby(), getRubyClass(), getSuperClass()); clone.setupClone(this); if (getInstanceVariables() != null) { clone.setInstanceVariables(getInstanceVariables().cloneRubyMap()); } // clone the methods. if (methods != null) { clone.setMethods(new Rub... | 3,235,105 |
public int execute(Object key, Object value, Object arg) { MethodNode methodNode = (MethodNode) value; ((RubyMap) arg).put( key, nf.newMethod(methodNode.getBodyNode(), methodNode.getNoex())); return RubyMapMethod.CONTINUE; } | public int execute(Object key, Object value, Object arg) { MethodNode methodNode = (MethodNode) value; ((RubyMap) arg).put( key, nf.newMethod(methodNode.getBodyNode(), methodNode.getNoex())); return RubyMapMethod.CONTINUE; } | 3,235,106 |
public int execute(Object key, Object value, Object arg) { MethodNode methodNode = (MethodNode) value; ((RubyMap) arg).put( key, nf.newMethod(methodNode.getBodyNode(), methodNode.getNoex())); return RubyMapMethod.CONTINUE; } | public int execute(Object key, Object value, Object arg) { MethodNode methodNode = (MethodNode) value; ((RubyMap) arg).put( key, nf.newMethod(methodNode.getBodyNode(), methodNode.getNoex())); return RubyMapMethod.CONTINUE; } | 3,235,107 |
public RubyBoolean m_const_defined(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return RubyBoolean.m_newBoolean(getRuby(), isConstantDefined(id)); } | public RubyBoolean m_const_defined(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return RubyBoolean.m_newBoolean(getRuby(), isConstantDefined(id)); } | 3,235,108 |
public RubyBoolean m_const_defined(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return RubyBoolean.m_newBoolean(getRuby(), isConstantDefined(id)); } | public RubyBoolean m_const_defined(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return RubyBoolean.m_newBoolean(getRuby(), isConstantDefined(id)); } | 3,235,109 |
public RubyBoolean m_const_defined(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return RubyBoolean.m_newBoolean(getRuby(), isConstantDefined(id)); } | public RubyBoolean m_const_defined(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return RubyBoolean.m_newBoolean(getRuby(), isConstantDefined(id)); } | 3,235,110 |
public RubyObject m_const_get(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return getConstant(id); } | public RubyObject m_const_get(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return getConstant(id); } | 3,235,111 |
public RubyObject m_const_get(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return getConstant(id); } | public RubyObject m_const_get(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return getConstant(id); } | 3,235,112 |
public RubyObject m_const_get(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return getConstant(id); } | public RubyObject m_const_get(RubySymbol symbol) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } return getConstant(id); } | 3,235,113 |
public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | 3,235,114 |
public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | 3,235,115 |
public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | 3,235,116 |
public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | public RubyObject m_const_set(RubySymbol symbol, RubyObject value) { RubyId id = symbol.toId(); if (!id.isConstId()) { throw new RubyNameException( getRuby(), "wrong constant name " + symbol.getName()); } setConstant(id, value); return value; } | 3,235,117 |
public RubyObject m_constants() { RubyArray ary = RubyArray.m_newArray(getRuby()); return getConstOf(ary); } | public RubyObject m_constants() { RubyArray ary = RubyArray.m_newArray(getRuby()); return getConstOf(ary); } | 3,235,118 |
public RubyObject m_constants() { RubyArray ary = RubyArray.m_newArray(getRuby()); return getConstOf(ary); } | public RubyObject m_constants() { RubyArray ary = RubyArray.m_newArray(getRuby()); return getConstOf(ary); } | 3,235,119 |
public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | 3,235,120 |
public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | 3,235,121 |
public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | public RubyObject m_dup() { RubyModule dup = (RubyModule) m_clone(); dup.setupObject(getRubyClass()); dup.setSingleton(isSingleton()); return dup; } | 3,235,122 |
public RubyObject m_extend_object(RubyObject obj) { obj.extendObject(this); return obj; } | public RubyObject m_extend_object(RubyObject obj) { obj.extendObject(this); return obj; } | 3,235,123 |
public RubyObject m_include(RubyObject[] modules) { for (int i = 0; i < modules.length; i++) { funcall(getRuby().intern("append_features"), modules[i]); } return this; } | public RubyObject m_include(RubyObject[] modules) { for (int i = 0; i < modules.length; i++) { funcall(getRuby().intern("append_features"), modules[i]); } return this; } | 3,235,124 |
public RubyObject m_include(RubyObject[] modules) { for (int i = 0; i < modules.length; i++) { funcall(getRuby().intern("append_features"), modules[i]); } return this; } | public RubyObject m_include(RubyObject[] modules) { for (int i = 0; i < modules.length; i++) { funcall(getRuby().intern("append_features"), modules[i]); } return this; } | 3,235,125 |
public RubyArray m_included_modules() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { if (p.isIncluded()) { ary.push(p.getRubyClass()); } } return ary; } | public RubyArray m_included_modules() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { if (p.isIncluded()) { ary.push(p.getRubyClass()); } } return ary; } | 3,235,126 |
public RubyArray m_included_modules() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { if (p.isIncluded()) { ary.push(p.getRubyClass()); } } return ary; } | public RubyArray m_included_modules() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { if (p.isIncluded()) { ary.push(p.getRubyClass()); } } return ary; } | 3,235,127 |
public RubyArray m_included_modules() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { if (p.isIncluded()) { ary.push(p.getRubyClass()); } } return ary; } | public RubyArray m_included_modules() { RubyArray ary = RubyArray.m_newArray(getRuby()); for (RubyModule p = getSuperClass(); p != null; p = p.getSuperClass()) { if (p.isIncluded()) { ary.push(p.getRubyClass()); } } return ary; } | 3,235,128 |
public RubyObject m_initialize(RubyObject[] args) { return getRuby().getNil(); } | public RubyObject m_initialize(RubyObject[] args) { return getRuby().getNil(); } | 3,235,129 |
public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | 3,235,130 |
public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | 3,235,131 |
public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | 3,235,132 |
public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | 3,235,133 |
public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | public RubyObject m_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; Meth... | 3,235,134 |
public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if ((body.getNoex() & (Constants.NOEX_PRIVATE | Constants.NOEX_PROTECTED)) == 0) { RubyString name = RubyString.m_newString(g... | public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if ((body.getNoex() & (Constants.NOEX_PRIVATE | Constants.NOEX_PROTECTED)) == 0) { RubyString name = RubyString.m_newString(g... | 3,235,135 |
public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if ((body.getNoex() & (Constants.NOEX_PRIVATE | Constants.NOEX_PROTECTED)) == 0) { RubyString name = RubyString.m_newString(g... | public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if ((body.getNoex() & (Constants.NOEX_PRIVATE | Constants.NOEX_PROTECTED)) == 0) { RubyString name = RubyString.m_newString(g... | 3,235,136 |
public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if ((body.getNoex() & (Constants.NOEX_PRIVATE | Constants.NOEX_PROTECTED)) == 0) { RubyString name = RubyString.m_newString(g... | public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if ((body.getNoex() & (Constants.NOEX_PRIVATE | Constants.NOEX_PROTECTED)) == 0) { RubyString name = RubyString.m_newString(g... | 3,235,137 |
public RubyObject m_method_defined(RubyObject symbol) { return isMethodBound(symbol.toId(), 1) ? getRuby().getTrue() : getRuby().getFalse(); } | public RubyObject m_method_defined(RubyObject symbol) { return isMethodBound(symbol.toId(), 1) ? getRuby().getTrue() : getRuby().getFalse(); } | 3,235,138 |
public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | 3,235,139 |
public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | 3,235,140 |
public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | 3,235,141 |
public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | public RubyObject m_module_function(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_MODFUNC); } else { setMethodVisi... | 3,235,142 |
public RubyString m_name() { RubyString path = getClassname(); if (path != null) { return (RubyString) path.m_dup(); } return RubyString.m_newString(getRuby(), ""); } | public RubyString m_name() { RubyString path = getClassname(); if (path != null) { return (RubyString) path.m_dup(); } return RubyString.m_newString(getRuby(), ""); } | 3,235,143 |
public static RubyModule m_new(Ruby ruby, RubyObject recv) { RubyModule mod = RubyModule.m_newModule(ruby); mod.setRubyClass((RubyModule) recv); ruby.getClasses().getModuleClass().callInit(null); return mod; } | public static RubyModule m_new(Ruby ruby, RubyObject recv) { RubyModule mod = RubyModule.m_newModule(ruby); mod.setRubyClass((RubyModule) recv); ruby.getClasses().getModuleClass().callInit(null); return mod; } | 3,235,144 |
public static RubyModule m_new(Ruby ruby, RubyObject recv) { RubyModule mod = RubyModule.m_newModule(ruby); mod.setRubyClass((RubyModule) recv); ruby.getClasses().getModuleClass().callInit(null); return mod; } | public static RubyModule m_new(Ruby ruby, RubyObject recv) { RubyModule mod = RubyModule.m_newModule(ruby); mod.setRubyClass((RubyModule) recv); ruby.getClasses().getModuleClass().callInit(null); return mod; } | 3,235,145 |
public static RubyModule m_new(Ruby ruby, RubyObject recv) { RubyModule mod = RubyModule.m_newModule(ruby); mod.setRubyClass((RubyModule) recv); ruby.getClasses().getModuleClass().callInit(null); return mod; } | public static RubyModule m_new(Ruby ruby, RubyObject recv) { RubyModule mod = RubyModule.m_newModule(ruby); mod.setRubyClass((RubyModule) recv); ruby.getClasses().getModuleClass().callInit(null); return mod; } | 3,235,146 |
public static RubyModule m_newModule(Ruby ruby) { RubyModule newModule = new RubyModule(ruby, ruby.getClasses().getModuleClass()); return newModule; } | public static RubyModule m_newModule(Ruby ruby) { RubyModule newModule = new RubyModule(ruby, ruby.getClasses().getModuleClass()); return newModule; } | 3,235,147 |
public static RubyModule m_newModule(Ruby ruby) { RubyModule newModule = new RubyModule(ruby, ruby.getClasses().getModuleClass()); return newModule; } | public static RubyModule m_newModule(Ruby ruby) { RubyModule newModule = new RubyModule(ruby, ruby.getClasses().getModuleClass()); return newModule; } | 3,235,148 |
public RubyObject m_private(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PRIVATE); } else { setMethodVisibility(a... | public RubyObject m_private(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PRIVATE); } else { setMethodVisibility(a... | 3,235,149 |
public RubyObject m_private(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PRIVATE); } else { setMethodVisibility(a... | public RubyObject m_private(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PRIVATE); } else { setMethodVisibility(a... | 3,235,150 |
public RubyObject m_private(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PRIVATE); } else { setMethodVisibility(a... | public RubyObject m_private(RubyObject[] args) { if (getRuby().getSecurityLevel() >= 4 && !isTaint()) { throw new RubySecurityException( getRuby(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuby().setActMethodScope(Constants.SCOPE_PRIVATE); } else { setMethodVisibility(a... | 3,235,151 |
public RubyObject m_private_class_method(RubyObject[] args) { getRubyClass().setMethodVisibility(args, Constants.NOEX_PRIVATE); return this; } | public RubyObject m_private_class_method(RubyObject[] args) { getRubyClass().setMethodVisibility(args, Constants.NOEX_PRIVATE); return this; } | 3,235,152 |
public RubyObject m_private_class_method(RubyObject[] args) { getRubyClass().setMethodVisibility(args, Constants.NOEX_PRIVATE); return this; } | public RubyObject m_private_class_method(RubyObject[] args) { getRubyClass().setMethodVisibility(args, Constants.NOEX_PRIVATE); return this; } | 3,235,153 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.